From: Nathaniel Wesley Filardo Date: Wed, 8 Jun 2016 18:35:07 +0000 (-0400) Subject: Add a skeletal phone app for eventual store delivery? X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=edbc99dbb47215a77c3599ca1fca6974ed1a8320;p=acmetensortoys-watchviz Add a skeletal phone app for eventual store delivery? --- diff --git a/phoneapp/.gitignore b/phoneapp/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/phoneapp/.gitignore @@ -0,0 +1 @@ +/build diff --git a/phoneapp/build.gradle b/phoneapp/build.gradle new file mode 100644 index 0000000..e46e822 --- /dev/null +++ b/phoneapp/build.gradle @@ -0,0 +1,29 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.3" + + defaultConfig { + applicationId "com.acmetensortoys.watchviz" + minSdkVersion 9 + targetSdkVersion 23 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:23.4.0' +} + +dependencies { + wearApp project(':app') +} \ No newline at end of file diff --git a/phoneapp/proguard-rules.pro b/phoneapp/proguard-rules.pro new file mode 100644 index 0000000..23c6bbc --- /dev/null +++ b/phoneapp/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /home/nwf/Android/Sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/phoneapp/src/main/AndroidManifest.xml b/phoneapp/src/main/AndroidManifest.xml new file mode 100644 index 0000000..8c6a921 --- /dev/null +++ b/phoneapp/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/phoneapp/src/main/java/com/acmetensortoys/watchviz/MainActivity.java b/phoneapp/src/main/java/com/acmetensortoys/watchviz/MainActivity.java new file mode 100644 index 0000000..e433b80 --- /dev/null +++ b/phoneapp/src/main/java/com/acmetensortoys/watchviz/MainActivity.java @@ -0,0 +1,13 @@ +package com.acmetensortoys.watchviz; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } +} diff --git a/phoneapp/src/main/res/layout/activity_main.xml b/phoneapp/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..9216fa3 --- /dev/null +++ b/phoneapp/src/main/res/layout/activity_main.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/phoneapp/src/main/res/mipmap-hdpi/ic_launcher.png b/phoneapp/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..ccf9e0d Binary files /dev/null and b/phoneapp/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/phoneapp/src/main/res/mipmap-mdpi/ic_launcher.png b/phoneapp/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..e2e13f5 Binary files /dev/null and b/phoneapp/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/phoneapp/src/main/res/mipmap-xhdpi/ic_launcher.png b/phoneapp/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..ff42227 Binary files /dev/null and b/phoneapp/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/phoneapp/src/main/res/mipmap-xxhdpi/ic_launcher.png b/phoneapp/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..7e4bc3d Binary files /dev/null and b/phoneapp/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/phoneapp/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/phoneapp/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..87baa26 Binary files /dev/null and b/phoneapp/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/phoneapp/src/main/res/values-w820dp/dimens.xml b/phoneapp/src/main/res/values-w820dp/dimens.xml new file mode 100644 index 0000000..63fc816 --- /dev/null +++ b/phoneapp/src/main/res/values-w820dp/dimens.xml @@ -0,0 +1,6 @@ + + + 64dp + diff --git a/phoneapp/src/main/res/values/colors.xml b/phoneapp/src/main/res/values/colors.xml new file mode 100644 index 0000000..3ab3e9c --- /dev/null +++ b/phoneapp/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ + + + #3F51B5 + #303F9F + #FF4081 + diff --git a/phoneapp/src/main/res/values/dimens.xml b/phoneapp/src/main/res/values/dimens.xml new file mode 100644 index 0000000..47c8224 --- /dev/null +++ b/phoneapp/src/main/res/values/dimens.xml @@ -0,0 +1,5 @@ + + + 16dp + 16dp + diff --git a/phoneapp/src/main/res/values/strings.xml b/phoneapp/src/main/res/values/strings.xml new file mode 100644 index 0000000..03a8490 --- /dev/null +++ b/phoneapp/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + WatchViz + diff --git a/phoneapp/src/main/res/values/styles.xml b/phoneapp/src/main/res/values/styles.xml new file mode 100644 index 0000000..5885930 --- /dev/null +++ b/phoneapp/src/main/res/values/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/settings.gradle b/settings.gradle index e7b4def..b8c9776 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':app' +include ':app', ':phoneapp'