├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── normal.png │ │ │ │ ├── checked.png │ │ │ │ ├── music_center_bg.xml │ │ │ │ ├── supportmusicplayer_checkbox.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── pause.png │ │ │ │ ├── play.png │ │ │ │ ├── nextsong.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── icon_music.png │ │ │ │ ├── previoussong.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values-zh │ │ │ │ └── strings.xml │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── activity_allsupportaudioapp.xml │ │ │ │ ├── activity_remotecontroller.xml │ │ │ │ ├── activity_testmusiccontrolview.xml │ │ │ │ ├── item_supportmusicplayer.xml │ │ │ │ ├── activity_main.xml │ │ │ │ └── layout_musiccontrol.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── baina │ │ │ │ └── androidremotecontroller │ │ │ │ ├── utils │ │ │ │ ├── Constants.java │ │ │ │ └── SharedPreferenceUtil.java │ │ │ │ ├── RemoteControllerApplication.java │ │ │ │ ├── activity │ │ │ │ ├── TestMusicControlViewActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── AllSupportAudioAppActivity.java │ │ │ │ └── RemoteControllerActivity.java │ │ │ │ ├── model │ │ │ │ ├── Music.java │ │ │ │ └── AppInfo.java │ │ │ │ ├── adapter │ │ │ │ └── SupportMusicPlayerAdapter.java │ │ │ │ ├── service │ │ │ │ └── MusicNotificationListenerService.java │ │ │ │ └── view │ │ │ │ ├── MusicControlView.java │ │ │ │ └── NewMusicControlView.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── baina │ │ │ └── androidremotecontroller │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── baina │ │ └── androidremotecontroller │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml └── misc.xml ├── Screenshots ├── Screenshot_2018-01-07-14-23-24-904_com.example.baina.androidremotecontroller.png ├── Screenshot_2018-01-07-14-23-35-305_com.example.baina.androidremotecontroller.png └── Screenshot_2018-01-07-14-23-41-900_com.example.baina.androidremotecontroller.png ├── gradle.properties ├── .gitignore ├── README.md ├── gradlew.bat ├── gradlew └── LICENSE /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/drawable/normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/drawable/checked.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/pause.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/play.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/nextsong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/nextsong.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/icon_music.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/previoussong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/previoussong.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Screenshots/Screenshot_2018-01-07-14-23-24-904_com.example.baina.androidremotecontroller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/Screenshots/Screenshot_2018-01-07-14-23-24-904_com.example.baina.androidremotecontroller.png -------------------------------------------------------------------------------- /Screenshots/Screenshot_2018-01-07-14-23-35-305_com.example.baina.androidremotecontroller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/Screenshots/Screenshot_2018-01-07-14-23-35-305_com.example.baina.androidremotecontroller.png -------------------------------------------------------------------------------- /Screenshots/Screenshot_2018-01-07-14-23-41-900_com.example.baina.androidremotecontroller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungBill/Android-RemoteController/HEAD/Screenshots/Screenshot_2018-01-07-14-23-41-900_com.example.baina.androidremotecontroller.png -------------------------------------------------------------------------------- /app/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 请授予通知权限 5 | 应用未安装,启动失败 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/music_center_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/utils/Constants.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller.utils; 2 | 3 | /** 4 | * Created by baina on 18-1-3. 5 | */ 6 | 7 | public class Constants { 8 | public static final String MUSICPLAYER = "musicplayer"; 9 | } 10 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jan 03 10:00:42 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AndroidRemoteController 3 | 4 | 5 | Please grant notifications the use of authority 6 | Application is not installed, startup failure 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/supportmusicplayer_checkbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/com/baina/androidremotecontroller/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_allsupportaudioapp.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/RemoteControllerApplication.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | 6 | /** 7 | * 8 | * 9 | * Created by baina on 18-1-3. 10 | */ 11 | 12 | public class RemoteControllerApplication extends Application { 13 | 14 | private static Context mContext; 15 | 16 | @Override 17 | public void onCreate() { 18 | super.onCreate(); 19 | mContext = this; 20 | } 21 | 22 | public static Context getInstance() { 23 | return mContext; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_remotecontroller.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_testmusiccontrolview.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/activity/TestMusicControlViewActivity.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller.activity; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.support.annotation.Nullable; 6 | 7 | import com.baina.androidremotecontroller.R; 8 | 9 | /** 10 | * 测试高度集成音乐控制view的Activity 11 | * Created by baina on 18-1-5. 12 | */ 13 | 14 | public class TestMusicControlViewActivity extends Activity { 15 | 16 | @Override 17 | protected void onCreate(@Nullable Bundle savedInstanceState) { 18 | super.onCreate(savedInstanceState); 19 | setContentView(R.layout.activity_testmusiccontrolview); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/model/Music.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller.model; 2 | 3 | import android.graphics.Bitmap; 4 | 5 | /** 6 | * Created by baina on 18-1-3. 7 | */ 8 | 9 | public class Music { 10 | 11 | private String artist; 12 | private String title; 13 | private Bitmap cover; 14 | 15 | public String getArtist() { 16 | return artist; 17 | } 18 | 19 | public void setArtist(String artist) { 20 | this.artist = artist; 21 | } 22 | 23 | public String getTitle() { 24 | return title; 25 | } 26 | 27 | public void setTitle(String title) { 28 | this.title = title; 29 | } 30 | 31 | public Bitmap getCover() { 32 | return cover; 33 | } 34 | 35 | public void setCover(Bitmap cover) { 36 | this.cover = cover; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/model/AppInfo.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller.model; 2 | 3 | import android.graphics.drawable.Drawable; 4 | 5 | /** 6 | * Created by baina on 18-1-2. 7 | */ 8 | 9 | public class AppInfo { 10 | private String appLabel; 11 | private String appPkg; 12 | private Drawable appIcon; 13 | 14 | public String getAppLabel() { 15 | return appLabel; 16 | } 17 | 18 | public void setAppLabel(String appLabel) { 19 | this.appLabel = appLabel; 20 | } 21 | 22 | public String getAppPkg() { 23 | return appPkg; 24 | } 25 | 26 | public void setAppPkg(String appPkg) { 27 | this.appPkg = appPkg; 28 | } 29 | 30 | public Drawable getAppIcon() { 31 | return appIcon; 32 | } 33 | 34 | public void setAppIcon(Drawable appIcon) { 35 | this.appIcon = appIcon; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/baina/androidremotecontroller/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.baina.androidremotecontroller", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the ART/Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | 23 | # Proguard folder generated by Eclipse 24 | proguard/ 25 | 26 | # Log Files 27 | *.log 28 | 29 | # Android Studio Navigation editor temp files 30 | .navigation/ 31 | 32 | # Android Studio captures folder 33 | captures/ 34 | 35 | # Intellij 36 | *.iml 37 | .idea/workspace.xml 38 | .idea/tasks.xml 39 | .idea/gradle.xml 40 | .idea/dictionaries 41 | .idea/libraries 42 | 43 | # Keystore files 44 | *.jks 45 | 46 | # External native build folder generated in Android Studio 2.2 and later 47 | .externalNativeBuild 48 | 49 | # Google Services (e.g. APIs or Firebase) 50 | google-services.json 51 | 52 | # Freeline 53 | freeline.py 54 | freeline/ 55 | freeline_project_description.json -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 26 5 | defaultConfig { 6 | applicationId "com.baina.androidremotecontroller" 7 | minSdkVersion 19 8 | targetSdkVersion 26 9 | versionCode 1 10 | versionName "1.0" 11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) 23 | implementation 'com.android.support:appcompat-v7:26.1.0' 24 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' 25 | testImplementation 'junit:junit:4.12' 26 | androidTestImplementation 'com.android.support.test:runner:1.0.1' 27 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' 28 | compile 'de.hdodenhof:circleimageview:2.2.0' 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/com/baina/androidremotecontroller/activity/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.baina.androidremotecontroller.activity; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.view.View; 7 | 8 | import com.baina.androidremotecontroller.R; 9 | 10 | public class MainActivity extends Activity { 11 | 12 | private static final String TAG = MainActivity.class.getSimpleName(); 13 | 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | setContentView(R.layout.activity_main); 18 | } 19 | 20 | public void OnClick(View view) { 21 | switch (view.getId()) { 22 | case R.id.showAllSupportAudioAppsBt: 23 | startActivity(new Intent(MainActivity.this, AllSupportAudioAppActivity.class)); 24 | break; 25 | case R.id.remoteControllerBt: 26 | startActivity(new Intent(MainActivity.this, RemoteControllerActivity.class)); 27 | break; 28 | case R.id.NewMusicControlViewBt: 29 | startActivity(new Intent(MainActivity.this, TestMusicControlViewActivity.class)); 30 | break; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_supportmusicplayer.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 24 | 25 | 35 | 36 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 |