From fb69cf8533c74483e873804d9f980e242d737c62 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 8 Feb 2014 21:42:25 -0800 Subject: Converted RC from button to MediaRoute + added Chromecast requires --- Subsonic.iml | 3 + libs/android-support-v7-mediarouter.jar | Bin 0 -> 168050 bytes project.properties | 4 +- res/layout-land/download.xml | 5 - res/layout-port/download.xml | 5 - res/menu/nowplaying.xml | 7 ++ res/values/strings.xml | 1 + .../dsub/fragments/DownloadFragment.java | 25 ++--- .../dsub/provider/JukeboxRouteProvider.java | 106 +++++++++++++++++++++ .../daneren2005/dsub/service/DownloadService.java | 4 + .../dsub/service/DownloadServiceImpl.java | 19 ++++ 11 files changed, 149 insertions(+), 30 deletions(-) create mode 100644 libs/android-support-v7-mediarouter.jar create mode 100644 src/github/daneren2005/dsub/provider/JukeboxRouteProvider.java diff --git a/Subsonic.iml b/Subsonic.iml index f7983073..f9f7ef9c 100644 --- a/Subsonic.iml +++ b/Subsonic.iml @@ -14,10 +14,13 @@ + + + diff --git a/libs/android-support-v7-mediarouter.jar b/libs/android-support-v7-mediarouter.jar new file mode 100644 index 00000000..07c1aa6d Binary files /dev/null and b/libs/android-support-v7-mediarouter.jar differ diff --git a/project.properties b/project.properties index 73506e5d..80f83a52 100644 --- a/project.properties +++ b/project.properties @@ -10,4 +10,6 @@ # Project target. target=android-19 android.library.reference.1=../../../../Program Files (x86)/Android/android-sdk/extras/android/support/v7/appcompat -android.library.reference.2=DragSortListView/library \ No newline at end of file +android.library.reference.2=DragSortListView/library +android.library.reference.3=../../../../Program Files (x86)/Android/android-sdk/extras/android/support/v7/mediarouter +android.library.reference.4=../../../../Program Files (x86)/Android/android-sdk/extras/google/google_play_services/libproject/google-play-services_lib \ No newline at end of file diff --git a/res/layout-land/download.xml b/res/layout-land/download.xml index c71ff4b7..dfdb126a 100644 --- a/res/layout-land/download.xml +++ b/res/layout-land/download.xml @@ -47,11 +47,6 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal"> -