├── .classpath ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.txt ├── apk └── ArduinoColor.apk ├── gen └── com │ └── trevorshp │ └── arduinocolor │ ├── BuildConfig.java │ └── R.java ├── libs ├── android-support-v4.jar └── usb-serial-for-android-v010.jar ├── lint.xml ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-ldpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── layout │ └── activity_main.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml ├── values │ ├── strings.xml │ └── styles.xml └── xml │ └── device_filter.xml └── src └── com └── trevorshp └── arduinocolor ├── ColorPickerView.java └── MainActivity.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ArduinoColor 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 14 | 15 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | These are the source files for an Android App called Arduino Color. 2 | For more information on starting to develop Android apps, visit http://developer.android.com/training/index.html 3 | 4 | 1. Store all these files in a root directory called ArduinoColor. 5 | 6 | 2. In Eclipse (or other IDE) select Import > Existing Projects into Workspace. 7 | 8 | 3. Select the ArduinoColor folder. 9 | 10 | 4. Run the project as an Android Application with your phone connected to your computer 11 | -------------------------------------------------------------------------------- /apk/ArduinoColor.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/apk/ArduinoColor.apk -------------------------------------------------------------------------------- /gen/com/trevorshp/arduinocolor/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.trevorshp.arduinocolor; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/trevorshp/arduinocolor/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.trevorshp.arduinocolor; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class drawable { 14 | public static final int ic_launcher=0x7f020000; 15 | } 16 | public static final class id { 17 | public static final int colorFragLayout=0x7f070002; 18 | public static final int color_picker_layout=0x7f070005; 19 | public static final int color_picker_slider_text=0x7f070006; 20 | public static final int fragLayout=0x7f070001; 21 | public static final int main_layout=0x7f070000; 22 | public static final int randomButton=0x7f070008; 23 | public static final int result1_textview=0x7f070004; 24 | public static final int results_holder_layout=0x7f070003; 25 | public static final int seekBar1=0x7f070007; 26 | } 27 | public static final class layout { 28 | public static final int activity_main=0x7f030000; 29 | } 30 | public static final class string { 31 | public static final int app_name=0x7f050000; 32 | public static final int button_random=0x7f050004; 33 | public static final int color_picker_slider_text=0x7f050002; 34 | public static final int color_picker_slider_text_short=0x7f050003; 35 | public static final int title_activity_main=0x7f050001; 36 | } 37 | public static final class style { 38 | /** 39 | Base application theme, dependent on API level. This theme is replaced 40 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 41 | 42 | 43 | Theme customizations available in newer API levels can go in 44 | res/values-vXX/styles.xml, while customizations related to 45 | backward-compatibility can go here. 46 | 47 | 48 | Base application theme for API 11+. This theme completely replaces 49 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 50 | 51 | API 11 theme customizations can go here. 52 | 53 | Base application theme for API 14+. This theme completely replaces 54 | AppBaseTheme from BOTH res/values/styles.xml and 55 | res/values-v11/styles.xml on API 14+ devices. 56 | 57 | API 14 theme customizations can go here. 58 | */ 59 | public static final int AppBaseTheme=0x7f060000; 60 | /** Application theme. 61 | All customizations that are NOT specific to a particular API-level can go here. 62 | */ 63 | public static final int AppTheme=0x7f060001; 64 | } 65 | public static final class xml { 66 | public static final int device_filter=0x7f040000; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/usb-serial-for-android-v010.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/libs/usb-serial-for-android-v010.jar -------------------------------------------------------------------------------- /lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-17 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trevorshannon/ArduinoColor/a59bd0abbca9a827533a855e3feadd422fcc4c5e/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | 15 | 20 | 21 | 26 | 27 | 39 | 40 | 41 | 45 | 46 | 52 | 53 | 61 | 62 | 69 | 70 | 76 | 77 |