Skip to content

Commit f6e76e6

Browse files
Release 1.6.0
2 parents 7fc7030 + 3dc230d commit f6e76e6

File tree

10 files changed

+70
-105
lines changed

10 files changed

+70
-105
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: android
2+
jdk: oraclejdk7
3+
4+
android:
5+
components:
6+
- android-22
7+
- build-tools-22.0.1
8+
- extra-google-google_play_services
9+
- extra-google-m2repository
10+
- extra-android-m2repository
11+
12+
before_script:
13+
- curl -L -ofling.zip https://s3-us-west-1.amazonaws.com/amazon-fling/AmazonFling-SDK.zip
14+
- unzip fling.zip 'android-sdk/lib/*'
15+
- mv -v android-sdk/lib/{AmazonFling,android/WhisperPlay}.jar modules/firetv/libs
16+
17+
after_success:
18+
- bash <(curl -s https://codecov.io/bash)
19+
20+
script:
21+
- gradle build
22+

AndroidManifest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.connectsdk"
3-
android:versionCode="11"
4-
android:versionName="1.5.0" >
3+
android:versionCode="12"
4+
android:versionName="1.6.0" >
55

66
<uses-sdk
77
android:minSdkVersion="10"
88
android:targetSdkVersion="22" />
99

10+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
11+
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
1012
<application />
1113
</manifest>

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Connect SDK Android Changelog
22

3+
## 1.6.0 -- 09 Sep 2015
4+
5+
- Added subtitles support for WebOS, Netcast, DLNA, Chromecast and FireTV
6+
- Added PairingType.MIXED for WebOS
7+
- Fixed playing media on Roku 6.2
8+
- Removed Rewind and FastForward capabilities from Netcast service because they are not supported
9+
- Supports Android TV devices
10+
- Miscellaneous bug fixes
11+
- [See commits between 1.5.0 and 1.6.0](https://github.com/ConnectSDK/Connect-SDK-Android/compare/1.5.0...1.6.0)
12+
13+
[View files at version 1.6.0](https://github.com/ConnectSDK/Connect-SDK-Android/tree/1.6.0)
14+
315
## 1.5.0 -- 09 Jul 2015
416

517
- Added Amazon Fling SDK support to play and control media on Fire TV devices

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#Connect SDK Android
2+
3+
[![Build Status](https://travis-ci.org/ConnectSDK/Connect-SDK-Android.svg)](https://travis-ci.org/ConnectSDK/Connect-SDK-Android)
4+
[![Code Coverage](https://img.shields.io/codecov/c/github/ConnectSDK/Connect-SDK-Android/dev.svg)](https://codecov.io/github/ConnectSDK/Connect-SDK-Android)
5+
[![Maven Central](http://img.shields.io/maven-central/v/com.connectsdk/connect-sdk-android.svg)](http://search.maven.org/#artifactdetails|com.connectsdk|connect-sdk-android|1.6.0|aar)
6+
[![Apache License, 2.0](https://img.shields.io/github/license/ConnectSDK/Connect-SDK-Android.svg)](https://github.com/ConnectSDK/Connect-SDK-Android/blob/master/LICENSE)
7+
[![Twitter](https://img.shields.io/badge/[email protected])](https://twitter.com/connectsdk)
8+
29
Connect SDK is an open source framework that connects your mobile apps with multiple TV platforms. Because most TV platforms support a variety of protocols, Connect SDK integrates and abstracts the discovery and connectivity between all supported protocols.
310
This project can be built in Android Studio or directly with Gradle. Eclipse IDE is not supported since 1.5.0 version.
411

@@ -25,7 +32,7 @@ Edit your project's build.gradle to add this in the "dependencies" section
2532
```groovy
2633
dependencies {
2734
//...
28-
compile 'com.connectsdk:connect-sdk-android:1.5.0'
35+
compile 'com.connectsdk:connect-sdk-android:1.6.0'
2936
}
3037
```
3138
This prebuilt library doesn't have Amazon Fling SDK support, because it’s not available on maven. You need to set the project up from sources
@@ -108,6 +115,18 @@ gradle jacocoTestReport
108115
```
109116
The test coverage report will be in this folder `Connect-SDK-Android/build/reports/jacoco/jacocoTestReport/html`.
110117

118+
##Limitations/Caveats
119+
120+
###Subtitles
121+
122+
- DLNA service support `SRT` format only. Since there is no official specification for them, subtitles may not work on all DLNA-compatible devices. This feature has been tested and works on LG WebOS and Netcast TVs.
123+
- FireTV service supports `WebVTT` format only. Subtitles on Fire TV are hidden by default. To display them, the user should manually pick one in the media player (click the "Options" button on the remote). The Fling SDK doesn't provide any way to make them appear remotely.
124+
- Google Cast service supports `WebVTT` format only. Servers providing subtitles and media files should support CORS headers, otherwise they are not displayed. The simplest change is to send this HTTP response header for your subtitles: `Access-Control-Allow-Origin: *`. More information is here: [https://developers.google.com/cast/docs/android_sender#cors-requirements](https://developers.google.com/cast/docs/android_sender#cors-requirements).
125+
- Netcast service support `SRT` format only. It uses DLNA and has the same restrictions as DLNA service.
126+
- WebOS service supports `WebVTT` format only. The server providing subtitles should support CORS headers, similarly to Cast service's requirements.
127+
128+
129+
111130
##Contact
112131
* Twitter [@ConnectSDK](https://www.twitter.com/ConnectSDK)
113132
* Ask a question on Stack Overflow with the [Connect-SDK tag](https://stackoverflow.com/tags/connect-sdk) (or [TV tag](https://stackoverflow.com/tags/tv))
@@ -131,6 +150,7 @@ These projects are used in tests:
131150
* [Mockito](http://mockito.org/) (MIT)
132151
* [Robolectric](http://robolectric.org) (MIT)
133152
* [PowerMock](https://github.com/jayway/powermock) (Apache License, Version 2.0)
153+
* [XMLUnit](http://www.xmlunit.org/) (Apache License, Version 2.0)
134154

135155
##License
136156
Copyright (c) 2013-2015 LG Electronics.

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ allprojects {
1616

1717
apply plugin: 'com.android.library'
1818
apply plugin: 'org.robolectric'
19-
apply plugin: "jacoco"
19+
apply plugin: 'jacoco'
2020

2121

2222
jacoco {
@@ -109,16 +109,17 @@ dependencies {
109109

110110
compile fileTree(dir: 'modules/firetv/libs', include: '*.jar')
111111

112-
compile 'com.android.support:support-v4:22.2.0'
113-
compile 'com.android.support:appcompat-v7:22.2.0'
114-
compile 'com.android.support:mediarouter-v7:21.0.0'
115-
compile 'com.google.android.gms:play-services-cast:7.5.0'
112+
compile 'com.android.support:support-v4:22.2.1'
113+
compile 'com.android.support:appcompat-v7:22.2.1'
114+
compile 'com.android.support:mediarouter-v7:22.2.1'
115+
compile 'com.google.android.gms:play-services-cast:7.8.0'
116116

117117
testCompile 'org.apache.maven:maven-ant-tasks:2.1.3'
118118
testCompile 'junit:junit:4.12'
119119
testCompile 'org.robolectric:robolectric:2.4'
120120
testCompile 'org.mockito:mockito-all:1.10.19'
121121
testCompile 'org.powermock:powermock-api-mockito:1.6.2'
122+
testCompile 'xmlunit:xmlunit:1.4'
122123
}
123124

124125
apply from: 'maven-push.gradle'

build.xml

Lines changed: 0 additions & 92 deletions
This file was deleted.

core

Submodule core updated 38 files

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ POM_NAME=Connect SDK Android
33
POM_ARTIFACT_ID=connect-sdk-android
44

55
POM_PACKAGING=aar
6-
VERSION_NAME=1.5.0
7-
VERSION_CODE=11
6+
VERSION_NAME=1.6.0
7+
VERSION_CODE=12
88
GROUP=com.connectsdk
99

1010
POM_DESCRIPTION=Connect SDK is an open source framework that connects your mobile apps with multiple TV platforms. Because most TV platforms support a variety of protocols, Connect SDK integrates and abstracts the discovery and connectivity between all supported protocols.

0 commit comments

Comments
 (0)