├── README.md ├── src ├── main │ ├── res │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-hdpi │ │ │ └── ic_action_cast.png │ │ ├── drawable-mdpi │ │ │ └── ic_action_cast.png │ │ ├── drawable-xhdpi │ │ │ └── ic_action_cast.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_action_cast.png │ │ ├── values │ │ │ ├── styles.xml │ │ │ ├── dimens.xml │ │ │ └── strings.xml │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ ├── menu │ │ │ └── menu_main.xml │ │ └── layout │ │ │ └── activity_main.xml │ ├── java │ │ └── in │ │ │ └── codesmith │ │ │ └── remotedroid │ │ │ ├── Constants.java │ │ │ └── MainActivity.java │ └── AndroidManifest.xml └── androidTest │ └── java │ └── in │ └── codesmith │ └── remotedroid │ └── ApplicationTest.java ├── .gitignore ├── proguard-rules.pro └── app.iml /README.md: -------------------------------------------------------------------------------- 1 | # RemoteDroid 2 | Sample code for an android remote control for VLC media player. 3 | -------------------------------------------------------------------------------- /src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ic_action_cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/drawable-hdpi/ic_action_cast.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ic_action_cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/drawable-mdpi/ic_action_cast.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ic_action_cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/drawable-xhdpi/ic_action_cast.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ic_action_cast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourabh86/RemoteDroid/HEAD/src/main/res/drawable-xxhdpi/ic_action_cast.png -------------------------------------------------------------------------------- /src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RemoteDroid 3 | 4 | Hello world! 5 | Settings 6 | Connect 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | -------------------------------------------------------------------------------- /src/androidTest/java/in/codesmith/remotedroid/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package in.codesmith.remotedroid; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/java/in/codesmith/remotedroid/Constants.java: -------------------------------------------------------------------------------- 1 | package in.codesmith.remotedroid; 2 | 3 | /** 4 | * Created by Sourabh Soni on 07-03-2015. 5 | */ 6 | public class Constants { 7 | public static final String SERVER_IP = "192.168.1.104"; 8 | public static final int SERVER_PORT = 8998; 9 | public static final String PLAY="play"; 10 | public static final String NEXT="next"; 11 | public static final String PREVIOUS="previous"; 12 | public static final String MOUSE_LEFT_CLICK="left_click"; 13 | } 14 | -------------------------------------------------------------------------------- /src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 10 | 11 | -------------------------------------------------------------------------------- /proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in C:\Users\Sourabh Soni\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 15 | 16 |