Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudipto Aich committed Mar 31, 2014
1 parent e58cda7 commit f5b2842
Show file tree
Hide file tree
Showing 77 changed files with 514 additions and 175 deletions.
7 changes: 5 additions & 2 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="/IOIOLibAndroid"/>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="/openxc"/>
<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="output" path="bin/classes"/>
</classpath>
9 changes: 6 additions & 3 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ioiomint.pixelhelloworld" android:versionCode="10" android:versionName="1.5">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10"/>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19"/>

<uses-permission android:name="android.permission.BLUETOOTH"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>

<application android:icon="@drawable/icon" android:label="@string/app_name">
<application
android:icon="@drawable/icon"
android:label="@string/app_name">

<uses-library android:name="com.android.future.usb.accessory" android:required="false" />

Expand All @@ -21,7 +23,8 @@
<meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter" />
</activity>

<service android:name="com.openxc.VehicleManager"/>
<activity android:name="preferences" ></activity>

</application>

Expand Down
9 changes: 6 additions & 3 deletions bin/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ioiomint.pixelhelloworld" android:versionCode="10" android:versionName="1.5">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10"/>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19"/>

<uses-permission android:name="android.permission.BLUETOOTH"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>

<application android:icon="@drawable/icon" android:label="@string/app_name">
<application
android:icon="@drawable/icon"
android:label="@string/app_name">

<uses-library android:name="com.android.future.usb.accessory" android:required="false" />

Expand All @@ -21,7 +23,8 @@
<meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter" />
</activity>

<service android:name="com.openxc.VehicleManager"/>
<activity android:name="preferences" ></activity>

</application>

Expand Down
Binary file removed bin/PixelHalloween.apk
Binary file not shown.
Binary file modified bin/PixelHelloWord.apk
Binary file not shown.
36 changes: 36 additions & 0 deletions bin/R.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
int drawable apple 0x7f020000
int drawable icon 0x7f020001
int drawable openxc_notification_icon_small_white 0x7f020002
int id brake_status 0x7f080001
int id title 0x7f080000
int id vehicle_speed 0x7f080002
int layout main 0x7f030000
int raw blank 0x7f050000
int raw footbrake 0x7f050001
int raw openxcgrey 0x7f050002
int raw rapid_brake 0x7f050003
int string OKText 0x7f060012
int string app_name 0x7f06000f
int string bluetoothPairingString 0x7f060014
int string bluetooth_checkbox_key 0x7f060008
int string bluetooth_mac_key 0x7f060009
int string gps_overwrite_checkbox_key 0x7f060003
int string hello_world 0x7f060010
int string intro 0x7f060011
int string matrix_default_value 0x7f060015
int string native_gps_checkbox_key 0x7f060002
int string network_checkbox_key 0x7f06000a
int string network_host_key 0x7f06000b
int string network_port_key 0x7f06000c
int string notFoundString 0x7f060013
int string notification_content 0x7f060001
int string openxc_name 0x7f060000
int string recording_checkbox_key 0x7f060004
int string recording_directory_key 0x7f060005
int string selected_matrix 0x7f060016
int string trace_source_checkbox_key 0x7f06000d
int string trace_source_file_key 0x7f06000e
int string uploading_checkbox_key 0x7f060006
int string uploading_path_key 0x7f060007
int style AppTheme 0x7f070000
int xml accessory_filter 0x7f040000
Binary file modified bin/classes.dex
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 modified bin/classes/com/ioiomint/pixelhelloworld/PixelHelloWord.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$drawable.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$id.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$layout.class
Binary file not shown.
Binary file added bin/classes/com/ioiomint/pixelhelloworld/R$raw.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$string.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$style.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R$xml.class
Binary file not shown.
Binary file modified bin/classes/com/ioiomint/pixelhelloworld/R.class
Binary file not shown.
Binary file added bin/classes/com/openxc/R$drawable.class
Binary file not shown.
Binary file added bin/classes/com/openxc/R$string.class
Binary file not shown.
Binary file added bin/classes/com/openxc/R.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$attr.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$drawable.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$id.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$layout.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$string.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$style.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R$xml.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/R.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$attr.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$drawable.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$id.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$layout.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$string.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$style.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R$xml.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/accessory/R.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$attr.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$drawable.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$id.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$layout.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$string.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$style.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R$xml.class
Binary file not shown.
Binary file removed bin/classes/ioio/lib/bluetooth/R.class
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.
3 changes: 0 additions & 3 deletions bin/jarlist.cache

This file was deleted.

File renamed without changes
Binary file added bin/res/crunch/drawable/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed bin/res/drawable/icon.png
Binary file not shown.
Binary file modified bin/resources.ap_
Binary file not shown.
39 changes: 34 additions & 5 deletions gen/com/ioiomint/pixelhelloworld/R.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,49 @@ public static final class attr {
public static final class drawable {
public static final int apple=0x7f020000;
public static final int icon=0x7f020001;
public static final int openxc_notification_icon_small_white=0x7f020002;
}
public static final class id {
public static final int title=0x7f070000;
public static final int brake_status=0x7f080001;
public static final int title=0x7f080000;
public static final int vehicle_speed=0x7f080002;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class raw {
public static final int blank=0x7f050000;
public static final int footbrake=0x7f050001;
public static final int openxcgrey=0x7f050002;
public static final int rapid_brake=0x7f050003;
}
public static final class string {
public static final int app_name=0x7f050000;
public static final int hello_world=0x7f050001;
public static final int intro=0x7f050002;
public static final int OKText=0x7f060012;
public static final int app_name=0x7f06000f;
public static final int bluetoothPairingString=0x7f060014;
public static final int bluetooth_checkbox_key=0x7f060008;
public static final int bluetooth_mac_key=0x7f060009;
public static final int gps_overwrite_checkbox_key=0x7f060003;
public static final int hello_world=0x7f060010;
public static final int intro=0x7f060011;
public static final int matrix_default_value=0x7f060015;
public static final int native_gps_checkbox_key=0x7f060002;
public static final int network_checkbox_key=0x7f06000a;
public static final int network_host_key=0x7f06000b;
public static final int network_port_key=0x7f06000c;
public static final int notFoundString=0x7f060013;
public static final int notification_content=0x7f060001;
public static final int openxc_name=0x7f060000;
public static final int recording_checkbox_key=0x7f060004;
public static final int recording_directory_key=0x7f060005;
public static final int selected_matrix=0x7f060016;
public static final int trace_source_checkbox_key=0x7f06000d;
public static final int trace_source_file_key=0x7f06000e;
public static final int uploading_checkbox_key=0x7f060006;
public static final int uploading_path_key=0x7f060007;
}
public static final class style {
public static final int AppTheme=0x7f060000;
public static final int AppTheme=0x7f070000;
}
public static final class xml {
public static final int accessory_filter=0x7f040000;
Expand Down
30 changes: 30 additions & 0 deletions gen/com/openxc/R.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* 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.openxc;

public final class R {
public static final class drawable {
public static final int openxc_notification_icon_small_white = 0x7f020002;
}
public static final class string {
public static final int bluetooth_checkbox_key = 0x7f060008;
public static final int bluetooth_mac_key = 0x7f060009;
public static final int gps_overwrite_checkbox_key = 0x7f060003;
public static final int native_gps_checkbox_key = 0x7f060002;
public static final int network_checkbox_key = 0x7f06000a;
public static final int network_host_key = 0x7f06000b;
public static final int network_port_key = 0x7f06000c;
public static final int notification_content = 0x7f060001;
public static final int openxc_name = 0x7f060000;
public static final int recording_checkbox_key = 0x7f060004;
public static final int recording_directory_key = 0x7f060005;
public static final int trace_source_checkbox_key = 0x7f06000d;
public static final int trace_source_file_key = 0x7f06000e;
public static final int uploading_checkbox_key = 0x7f060006;
public static final int uploading_path_key = 0x7f060007;
}
}
34 changes: 0 additions & 34 deletions gen/ioio/lib/R.java

This file was deleted.

34 changes: 0 additions & 34 deletions gen/ioio/lib/accessory/R.java

This file was deleted.

34 changes: 0 additions & 34 deletions gen/ioio/lib/bluetooth/R.java

This file was deleted.

Binary file removed libs/android-support-v4.jar
Binary file not shown.
9 changes: 5 additions & 4 deletions project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=Google Inc.:Google APIs:8
android.library.reference.3=../IOIOLibBT
android.library.reference.1=../IOIOLib
android.library.reference.2=../IOIOLibAccessory
target=android-19
android.library.reference.3=../../ioio/software/IOIOLibBT
android.library.reference.1=../../ioio/software/IOIOLibAccessory
android.library.reference.2=../../ioio/software/IOIOLib/target/android
android.library.reference.4=../../../openxc-android/openxc
14 changes: 14 additions & 0 deletions res/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,18 @@
android:text="@string/intro"
android:id="@+id/title"/>

<TextView
android:id="@+id/brake_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No Data"
android:textColor="#0099CC"/>

<TextView
android:id="@+id/vehicle_speed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No speed"
android:textColor="#0099CC"/>

</LinearLayout>
Binary file added res/raw/blank.rgb565
Binary file not shown.
Binary file added res/raw/footbrake.rgb565
Binary file not shown.
Binary file added res/raw/openxcgrey.rgb565
Binary file not shown.
Binary file added res/raw/rapid_brake.rgb565
Binary file not shown.
6 changes: 5 additions & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<string name="app_name">Pixel Hello World</string>
<string name="hello_world">Hello world!</string>
<string name="intro">A picture of an Apple should now be showing on the Pixel LED frame\n\nIf no Apple image is showing, then first make sure you have Bluetooth paired the Pixel Frame to your Android device\n\nIn Bluetooth search, look for a device starting with IOIO and then pair with code: 4545</string>
<string name="OKText">OK</string>
<string name="notFoundString">PIXEL Not Found</string>
<string name="bluetoothPairingString">Please ensure Bluetooth pairing has been completed prior. The Bluetooth pairing code is: 4545."</string>
<string name="matrix_default_value">3</string>
<string name="selected_matrix">selected_matrix</string>


</resources>
Loading

0 comments on commit f5b2842

Please sign in to comment.