├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── vcs.xml ├── libraries │ ├── play_services_base_8_3_0.xml │ ├── play_services_basement_8_3_0.xml │ ├── play_services_wearable_8_3_0.xml │ └── gson_2_4.xml ├── runConfigurations.xml ├── modules.xml ├── compiler.xml ├── gradle.xml └── misc.xml ├── emmet ├── .gitignore ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── florent37 │ │ │ └── emmet │ │ │ ├── SerialisationUtilsGSON.java │ │ │ ├── EmmetWearableListenerService.java │ │ │ ├── SerialisationUtils.java │ │ │ └── Emmet.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── github │ │ └── florent37 │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── mobile ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── emmet.png │ │ │ │ ├── emmet_small.png │ │ │ │ ├── module_protocol.png │ │ │ │ └── module_protocol_small.png │ │ │ ├── drawable-hdpi │ │ │ │ ├── gplus.png │ │ │ │ ├── linkedin.png │ │ │ │ ├── twitter.png │ │ │ │ ├── davinci_droid.jpg │ │ │ │ ├── davinci_new.jpg │ │ │ │ ├── davinci_new_small.jpg │ │ │ │ └── davinci_droid_small.jpg │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── layout │ │ │ │ └── activity_main.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── florent37 │ │ │ │ └── emmet │ │ │ │ └── sample │ │ │ │ ├── SmartphoneMainActivity.java │ │ │ │ ├── WearService.java │ │ │ │ └── WearServiceCustom.java │ │ └── AndroidManifest.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── florent37 │ │ └── davinci │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── wear ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ └── strings.xml │ │ ├── drawable │ │ │ ├── ic_car.png │ │ │ ├── ic_notif.png │ │ │ ├── ic_picture.png │ │ │ ├── ic_speak.png │ │ │ ├── wearmenu.gif │ │ │ ├── wearmenu_poster.png │ │ │ ├── wearmenu_small.png │ │ │ └── wearmenu_background.png │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ └── layout │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── github │ │ └── florent37 │ │ └── emmet │ │ └── sample │ │ └── MainActivity.java ├── proguard-rules.pro └── build.gradle ├── wearprotocol ├── .gitignore ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── github │ │ └── florent37 │ │ └── protocol │ │ ├── WearProtocol.java │ │ ├── SmartphoneProtocol.java │ │ ├── MySecondObject.java │ │ └── MyObject.java ├── build.gradle └── proguard-rules.pro ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .travis.yml ├── gradle.properties ├── Emmet.iml ├── Wear-Emmet.iml ├── todo.txt ├── gradlew.bat ├── README.md ├── gradlew └── LICENSE /.idea/.name: -------------------------------------------------------------------------------- 1 | Wear-Emmet -------------------------------------------------------------------------------- /emmet/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /mobile/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /wear/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /wearprotocol/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':emmet', ':mobile', ':wear', ':wearprotocol' -------------------------------------------------------------------------------- /mobile/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Emmet 3 | 4 | -------------------------------------------------------------------------------- /wear/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Emmet 3 | 4 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /mobile/src/main/res/drawable/emmet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable/emmet.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/ic_car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/ic_car.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/ic_notif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/ic_notif.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/ic_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/ic_picture.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/ic_speak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/ic_speak.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/wearmenu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/wearmenu.gif -------------------------------------------------------------------------------- /wearprotocol/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/gplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/gplus.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/linkedin.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/twitter.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable/emmet_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable/emmet_small.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/wearmenu_poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/wearmenu_poster.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/wearmenu_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/wearmenu_small.png -------------------------------------------------------------------------------- /wear/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /wear/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /wear/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable/module_protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable/module_protocol.png -------------------------------------------------------------------------------- /mobile/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /wear/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/davinci_droid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/davinci_droid.jpg -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/davinci_new.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/davinci_new.jpg -------------------------------------------------------------------------------- /mobile/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /wear/src/main/res/drawable/wearmenu_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/wear/src/main/res/drawable/wearmenu_background.png -------------------------------------------------------------------------------- /emmet/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/davinci_new_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/davinci_new_small.jpg -------------------------------------------------------------------------------- /mobile/src/main/res/drawable/module_protocol_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable/module_protocol_small.png -------------------------------------------------------------------------------- /mobile/src/main/res/drawable-hdpi/davinci_droid_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florent37/Wear-Emmet/HEAD/mobile/src/main/res/drawable-hdpi/davinci_droid_small.jpg -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /mobile/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 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-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /mobile/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /wearprotocol/src/main/java/com/github/florent37/protocol/WearProtocol.java: -------------------------------------------------------------------------------- 1 | package com.github.florent37.protocol; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Created by florentchampigny on 20/04/15. 7 | */ 8 | public interface WearProtocol{ 9 | public void sayReceived(List list); 10 | } 11 | 12 | -------------------------------------------------------------------------------- /wearprotocol/src/main/java/com/github/florent37/protocol/SmartphoneProtocol.java: -------------------------------------------------------------------------------- 1 | package com.github.florent37.protocol; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Created by florentchampigny on 20/04/15. 7 | */ 8 | public interface SmartphoneProtocol { 9 | public void sayHello(); 10 | 11 | public void sayGoodbye(int delay, String text, List myObject); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /.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 | /*/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 | -------------------------------------------------------------------------------- /emmet/src/androidTest/java/com/github/florent37/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.github.florent37; 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 | } -------------------------------------------------------------------------------- /mobile/src/androidTest/java/com/florent37/davinci/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.florent37.davinci; 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 | } -------------------------------------------------------------------------------- /mobile/src/main/java/com/github/florent37/emmet/sample/SmartphoneMainActivity.java: -------------------------------------------------------------------------------- 1 | package com.github.florent37.emmet.sample; 2 | 3 | import android.os.Bundle; 4 | import android.support.v7.app.ActionBarActivity; 5 | 6 | 7 | public class SmartphoneMainActivity extends ActionBarActivity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /.idea/libraries/play_services_base_8_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/play_services_basement_8_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/play_services_wearable_8_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/gson_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /wearprotocol/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion project.COMPILE_SDK 5 | buildToolsVersion project.BUILD_TOOL 6 | 7 | defaultConfig { 8 | minSdkVersion 14 9 | compileSdkVersion project.TARGET_SDK 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile fileTree(dir: 'libs', include: ['*.jar']) 23 | compile project(':emmet') 24 | } 25 | -------------------------------------------------------------------------------- /wear/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |