Permalink
Browse files

added in my files

  • Loading branch information...
1 parent d74f3d6 commit a4d1b09cce181c035541f2ff8b914c84c7aa73ea @sharadmv committed Jul 22, 2012
Showing with 896 additions and 0 deletions.
  1. +11 −0 android/.classpath
  2. +33 −0 android/.project
  3. +27 −0 android/AndroidManifest.xml
  4. +27 −0 android/bin/AndroidManifest.xml
  5. BIN android/bin/Electrify.apk
  6. BIN android/bin/classes.dex
  7. BIN android/bin/classes/com/sharad/electrify/BuildConfig.class
  8. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$1.class
  9. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$2.class
  10. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$3.class
  11. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$4.class
  12. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$5.class
  13. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$6.class
  14. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$7.class
  15. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity$Electrify.class
  16. BIN android/bin/classes/com/sharad/electrify/ElectrifyActivity.class
  17. BIN android/bin/classes/com/sharad/electrify/R$attr.class
  18. BIN android/bin/classes/com/sharad/electrify/R$dimen.class
  19. BIN android/bin/classes/com/sharad/electrify/R$drawable.class
  20. BIN android/bin/classes/com/sharad/electrify/R$id.class
  21. BIN android/bin/classes/com/sharad/electrify/R$layout.class
  22. BIN android/bin/classes/com/sharad/electrify/R$menu.class
  23. BIN android/bin/classes/com/sharad/electrify/R$string.class
  24. BIN android/bin/classes/com/sharad/electrify/R$style.class
  25. BIN android/bin/classes/com/sharad/electrify/R.class
  26. BIN android/bin/res/drawable-hdpi/ic_action_search.png
  27. BIN android/bin/res/drawable-hdpi/ic_launcher.png
  28. BIN android/bin/res/drawable-ldpi/ic_launcher.png
  29. BIN android/bin/res/drawable-mdpi/ic_action_search.png
  30. BIN android/bin/res/drawable-mdpi/ic_launcher.png
  31. BIN android/bin/res/drawable-xhdpi/ic_action_search.png
  32. BIN android/bin/res/drawable-xhdpi/ic_launcher.png
  33. BIN android/bin/resources.ap_
  34. +6 −0 android/gen/com/sharad/electrify/BuildConfig.java
  35. +44 −0 android/gen/com/sharad/electrify/R.java
  36. BIN android/ic_launcher-web.png
  37. BIN android/libs/android-support-v4.jar
  38. BIN android/libs/bridge-java-core-0.0.1.jar
  39. BIN android/libs/jackson-all-1.9.2.jar
  40. BIN android/libs/slf4j-api-1.6.4.jar
  41. +4 −0 android/lint.xml
  42. +20 −0 android/proguard-project.txt
  43. +14 −0 android/project.properties
  44. BIN android/res/drawable-hdpi/ic_action_search.png
  45. BIN android/res/drawable-hdpi/ic_launcher.png
  46. BIN android/res/drawable-ldpi/ic_launcher.png
  47. BIN android/res/drawable-mdpi/ic_action_search.png
  48. BIN android/res/drawable-mdpi/ic_launcher.png
  49. BIN android/res/drawable-xhdpi/ic_action_search.png
  50. BIN android/res/drawable-xhdpi/ic_launcher.png
  51. +29 −0 android/res/layout/activity_electrify.xml
  52. +6 −0 android/res/menu/activity_electrify.xml
  53. +7 −0 android/res/values-large/dimens.xml
  54. +5 −0 android/res/values-v11/styles.xml
  55. +5 −0 android/res/values-v14/styles.xml
  56. +7 −0 android/res/values/dimens.xml
  57. +8 −0 android/res/values/strings.xml
  58. +5 −0 android/res/values/styles.xml
  59. +182 −0 android/src/com/sharad/electrify/ElectrifyActivity.java
  60. +16 −0 arduino/hub/hub.ino
  61. +136 −0 arduino/powerstrip/powerstrip.ino
  62. +109 −0 js/electrify.js
  63. +49 −0 js/filter.js
  64. BIN js/levels.mp3
  65. +62 −0 js/main.js
  66. +8 −0 js/mp3.js
  67. +30 −0 js/router.js
  68. +46 −0 js/sound.js
  69. BIN js/temp
View
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="lib" path="libs/jackson-all-1.9.2.jar"/>
+ <classpathentry kind="lib" path="libs/slf4j-api-1.6.4.jar"/>
+ <classpathentry kind="lib" path="libs/bridge-java-core-0.0.1.jar"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
View
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Electrify</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,27 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.sharad.electrify"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="8"
+ android:targetSdkVersion="15" />
+
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/AppTheme" >
+ <activity
+ android:name=".ElectrifyActivity"
+ android:label="@string/title_activity_electrify" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
@@ -0,0 +1,27 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.sharad.electrify"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="8"
+ android:targetSdkVersion="15" />
+
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/AppTheme" >
+ <activity
+ android:name=".ElectrifyActivity"
+ android:label="@string/title_activity_electrify" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package com.sharad.electrify;
+
+public final class BuildConfig {
+ public final static boolean DEBUG = true;
+}
@@ -0,0 +1,44 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package com.sharad.electrify;
+
+public final class R {
+ public static final class attr {
+ }
+ public static final class dimen {
+ public static final int padding_large=0x7f040002;
+ public static final int padding_medium=0x7f040001;
+ public static final int padding_small=0x7f040000;
+ }
+ public static final class drawable {
+ public static final int ic_action_search=0x7f020000;
+ public static final int ic_launcher=0x7f020001;
+ }
+ public static final class id {
+ public static final int button=0x7f080000;
+ public static final int button2=0x7f080001;
+ public static final int button3=0x7f080002;
+ public static final int menu_settings=0x7f080004;
+ public static final int speech=0x7f080003;
+ }
+ public static final class layout {
+ public static final int activity_electrify=0x7f030000;
+ }
+ public static final class menu {
+ public static final int activity_electrify=0x7f070000;
+ }
+ public static final class string {
+ public static final int app_name=0x7f050000;
+ public static final int hello_world=0x7f050001;
+ public static final int menu_settings=0x7f050002;
+ public static final int title_activity_electrify=0x7f050003;
+ }
+ public static final class style {
+ public static final int AppTheme=0x7f060000;
+ }
+}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lint>
+ <issue id="NewApi" severity="ignore" />
+</lint>
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# 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 *;
+#}
View
@@ -0,0 +1,14 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-15
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,29 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <Button
+ android:id="@+id/button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Toggle 1" />
+
+ <Button
+ android:id="@+id/button2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Toggle 2" />
+ <Button
+ android:id="@+id/button3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Toggle 3" />
+
+ <Button
+ android:id="@+id/speech"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Speech" />
+
+</LinearLayout>
@@ -0,0 +1,6 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/menu_settings"
+ android:title="@string/menu_settings"
+ android:orderInCategory="100"
+ android:showAsAction="never" />
+</menu>
@@ -0,0 +1,7 @@
+<resources>
+
+ <dimen name="padding_small">8dp</dimen>
+ <dimen name="padding_medium">16dp</dimen>
+ <dimen name="padding_large">16dp</dimen>
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Holo.Light" />
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
+
+</resources>
@@ -0,0 +1,7 @@
+<resources>
+
+ <dimen name="padding_small">8dp</dimen>
+ <dimen name="padding_medium">8dp</dimen>
+ <dimen name="padding_large">16dp</dimen>
+
+</resources>
@@ -0,0 +1,8 @@
+<resources>
+
+ <string name="app_name">Electrify</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="menu_settings">Settings</string>
+ <string name="title_activity_electrify">Electrify</string>
+
+</resources>
@@ -0,0 +1,5 @@
+<resources>
+
+ <style name="AppTheme" parent="android:Theme.Light" />
+
+</resources>
Oops, something went wrong.

0 comments on commit a4d1b09

Please sign in to comment.