Skip to content

Commit c3ad599

Browse files
committed
Refactor imageclassifier
Change-Id: Iabd0ba96278677756b6e73964cc5844620b98e85
1 parent 636b00e commit c3ad599

22 files changed

+956
-1205
lines changed

app/build.gradle

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ apply plugin: 'de.undercouch.download'
66

77
android {
88
compileSdkVersion 24
9-
buildToolsVersion "24.0.1"
9+
buildToolsVersion "24.0.3"
1010

1111
lintOptions {
1212
abortOnError false
1313
}
1414

1515
defaultConfig {
1616
applicationId = 'com.example.androidthings.imageclassifier'
17-
minSdkVersion 21
17+
minSdkVersion 24
1818
targetSdkVersion 24
1919
}
2020
buildTypes {
@@ -58,4 +58,7 @@ repositories {
5858
dependencies {
5959
compile("com.android.support:support-v4:23.0.+")
6060
compile(name: 'Tensorflow-Android-Inference-debug', ext: 'aar')
61+
62+
provided 'com.google.android.things:androidthings:0.1-devpreview'
63+
compile 'com.google.android.things.contrib:driver-button:0.2'
6164
}

app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
android:icon="@drawable/ic_launcher"
3030
android:theme="@style/MaterialTheme">
3131

32-
<activity android:name=".CameraActivity"
32+
<activity android:name=".ImageClassifierActivity"
3333
android:screenOrientation="landscape"
3434
android:label="@string/app_name">
3535
<intent-filter>

app/src/main/java/com/example/androidthings/imageclassifier/CameraActivity.java

-88
This file was deleted.

0 commit comments

Comments
 (0)