Skip to content

Commit 520e72d

Browse files
authored
Merge pull request #124 from lgcast-dev/master
Initial LG Cast Integration
2 parents 2aab785 + 9ca9efd commit 520e72d

17 files changed

+408
-13
lines changed

AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
android:versionCode="8"
44
android:versionName="1.4.2" >
55

6-
<application>
7-
<receiver android:name=".ScreenOnOffReceiver">
6+
<application android:usesCleartextTraffic="true">
7+
<receiver android:name=".ScreenOnOffReceiver"
8+
android:exported="false">
89
<intent-filter>
910
<action android:name="android.intent.action.SCREEN_ON" />
1011
<action android:name="android.intent.action.SCREEN_OFF" />

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Connect SDK Core (Android)
1+
# Connect SDK Core (Android)
22
The Connect SDK Core contains all of the core classes required for basic operation of Connect SDK. The core also includes support for some select protocols which do not have any heavy and/or external dependencies. These protocols include:
33
- Apple TV
44
- DIAL
@@ -7,13 +7,20 @@ The Connect SDK Core contains all of the core classes required for basic operati
77
- LG webOS
88
- Roku
99

10-
##General Information
10+
## General Information
1111
For more information about Connect SDK, visit the [main repository](https://github.com/ConnectSDK/Connect-SDK-Android).
1212

13-
##Setup
13+
## Setup
1414
Unless you are doing very specialized work to extend the SDK, you should not need to make direct use of this repository. Instead, clone the [main repository](https://github.com/ConnectSDK/Connect-SDK-Android), which includes this repository as a submodule.
1515

16-
##License
16+
## External libraries
17+
18+
libgstreamer_android.so is shared object library and links dynamically GStreamer open-source multimedia framework that is licensed under Lesser General Public License.
19+
20+
You can download and rebuild libgstreamer_android.so at [libgstreamer_android.tar](https://github.com/ConnectSDK/Connect-SDK-Android-Core/blob/master/jniLibs/libgstreamer_android.tar)
21+
22+
23+
## License
1724
Copyright (c) 2013-2015 LG Electronics.
1825

1926
Licensed under the Apache License, Version 2.0 (the "License");

build.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ allprojects {
1818
apply plugin: 'com.android.library'
1919

2020
android {
21-
compileSdkVersion 21
21+
compileSdkVersion 31
22+
buildToolsVersion '30.0.3'
2223

2324
packagingOptions {
2425
exclude 'LICENSE.txt'
@@ -40,6 +41,7 @@ android {
4041
renderscript.srcDirs = ['src']
4142
res.srcDirs = ['res']
4243
assets.srcDirs = ['assets']
44+
jniLibs.srcDirs = ['jniLibs']
4345
}
4446
androidTest {
4547
java.srcDirs = [
@@ -54,17 +56,18 @@ android {
5456
}
5557
}
5658
defaultConfig {
57-
minSdkVersion 16
58-
targetSdkVersion 25
59+
minSdkVersion 24
60+
targetSdkVersion 31
5961
}
62+
63+
useLibrary 'org.apache.http.legacy'
6064
}
6165

6266
dependencies {
6367
implementation files('libs/Java-WebSocket-1.3.7.jar')
6468
implementation files('libs/javax.jmdns_3.4.1-patch2.jar')
65-
implementation 'com.android.support:support-v4:21.0.3'
66-
implementation 'com.android.support:mediarouter-v7:21.0.3'
67-
implementation 'com.android.support:appcompat-v7:21.0.3'
69+
implementation files('libs/lgcast_sdk_v2.1.1.aar')
70+
implementation 'androidx.preference:preference:1.1.1'
6871
implementation 'com.google.android.gms:play-services-cast:19.0.0'
6972
implementation 'com.googlecode.plist:dd-plist:1.23'
7073
implementation group: 'net.i2p.crypto', name: 'eddsa', version: '0.3.0'

jniLibs/arm64-v8a/libc++_shared.so

890 KB
Binary file not shown.
54 KB
Binary file not shown.
7.49 MB
Binary file not shown.
542 KB
Binary file not shown.
49.6 KB
Binary file not shown.
5.82 MB
Binary file not shown.

jniLibs/libgstreamer_android.tar

102 KB
Binary file not shown.

0 commit comments

Comments
 (0)