diff --git a/GreenTravel/.classpath b/GreenTravel/.classpath new file mode 100644 index 00000000..6c635c01 --- /dev/null +++ b/GreenTravel/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/GreenTravel/.project b/GreenTravel/.project new file mode 100644 index 00000000..d7b9f558 --- /dev/null +++ b/GreenTravel/.project @@ -0,0 +1,33 @@ + + + GreenTravel + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/GreenTravel/.settings/org.eclipse.jdt.core.prefs b/GreenTravel/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..1100dd87 --- /dev/null +++ b/GreenTravel/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +#Mon Feb 14 17:21:14 UTC 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/GreenTravel/AndroidManifest.xml b/GreenTravel/AndroidManifest.xml new file mode 100644 index 00000000..549eded6 --- /dev/null +++ b/GreenTravel/AndroidManifest.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Coordinate.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Coordinate.class new file mode 100644 index 00000000..3b0a086c Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Coordinate.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity$1.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity$1.class new file mode 100644 index 00000000..e9f5ed27 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity$1.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity.class new file mode 100644 index 00000000..4fa6cc52 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/EndTripActivity.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService$LocalBinder.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService$LocalBinder.class new file mode 100644 index 00000000..6634d2b3 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService$LocalBinder.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService.class new file mode 100644 index 00000000..edc2a875 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/GreenTravelService.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash$1.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash$1.class new file mode 100644 index 00000000..73798caa Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash$1.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash.class new file mode 100644 index 00000000..f2b3d01d Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/MainSplash.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$attr.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$attr.class new file mode 100644 index 00000000..0423109b Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$attr.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$color.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$color.class new file mode 100644 index 00000000..dfee6739 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$color.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$drawable.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$drawable.class new file mode 100644 index 00000000..7153c82d Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$drawable.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$id.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$id.class new file mode 100644 index 00000000..22d9c54c Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$id.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$layout.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$layout.class new file mode 100644 index 00000000..6219d4fe Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$layout.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$string.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$string.class new file mode 100644 index 00000000..e441a116 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$string.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$style.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$style.class new file mode 100644 index 00000000..db015269 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R$style.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R.class new file mode 100644 index 00000000..4035c5af Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/R.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$1.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$1.class new file mode 100644 index 00000000..b6d21edc Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$1.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$2.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$2.class new file mode 100644 index 00000000..61d93ddb Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1$2.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1.class new file mode 100644 index 00000000..dae72c13 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen1.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$1.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$1.class new file mode 100644 index 00000000..886f5c49 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$1.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$2.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$2.class new file mode 100644 index 00000000..ad71eee2 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4$2.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4.class new file mode 100644 index 00000000..0f3204c6 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen4.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen5.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen5.class new file mode 100644 index 00000000..79a1ce9e Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen5.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen7.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen7.class new file mode 100644 index 00000000..efcc789e Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/Screen7.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/SettingsActivity.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/SettingsActivity.class new file mode 100644 index 00000000..69fff086 Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/SettingsActivity.class differ diff --git a/GreenTravel/bin/classes/org/commoditysoftware/greentravel/StartTrip.class b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/StartTrip.class new file mode 100644 index 00000000..da96018e Binary files /dev/null and b/GreenTravel/bin/classes/org/commoditysoftware/greentravel/StartTrip.class differ diff --git a/GreenTravel/bin/res/drawable-hdpi/icon.png b/GreenTravel/bin/res/drawable-hdpi/icon.png new file mode 100644 index 00000000..882eb148 Binary files /dev/null and b/GreenTravel/bin/res/drawable-hdpi/icon.png differ diff --git a/GreenTravel/bin/res/drawable-ldpi/icon.png b/GreenTravel/bin/res/drawable-ldpi/icon.png new file mode 100644 index 00000000..18689f65 Binary files /dev/null and b/GreenTravel/bin/res/drawable-ldpi/icon.png differ diff --git a/GreenTravel/bin/res/drawable-mdpi/icon.png b/GreenTravel/bin/res/drawable-mdpi/icon.png new file mode 100644 index 00000000..02e96b96 Binary files /dev/null and b/GreenTravel/bin/res/drawable-mdpi/icon.png differ diff --git a/GreenTravel/bin/res/drawable/greendriving_for_android.png b/GreenTravel/bin/res/drawable/greendriving_for_android.png new file mode 100644 index 00000000..9c686358 Binary files /dev/null and b/GreenTravel/bin/res/drawable/greendriving_for_android.png differ diff --git a/GreenTravel/bin/res/drawable/greendriving_settings.png b/GreenTravel/bin/res/drawable/greendriving_settings.png new file mode 100644 index 00000000..7729b0ed Binary files /dev/null and b/GreenTravel/bin/res/drawable/greendriving_settings.png differ diff --git a/GreenTravel/bin/res/drawable/greendriving_tripcalc.png b/GreenTravel/bin/res/drawable/greendriving_tripcalc.png new file mode 100644 index 00000000..0be21135 Binary files /dev/null and b/GreenTravel/bin/res/drawable/greendriving_tripcalc.png differ diff --git a/GreenTravel/bin/res/drawable/ic_menu_end.png b/GreenTravel/bin/res/drawable/ic_menu_end.png new file mode 100644 index 00000000..f48b99e1 Binary files /dev/null and b/GreenTravel/bin/res/drawable/ic_menu_end.png differ diff --git a/GreenTravel/bin/res/drawable/ic_menu_pause.png b/GreenTravel/bin/res/drawable/ic_menu_pause.png new file mode 100644 index 00000000..83e2dd3e Binary files /dev/null and b/GreenTravel/bin/res/drawable/ic_menu_pause.png differ diff --git a/GreenTravel/bin/res/drawable/ic_menu_resume.png b/GreenTravel/bin/res/drawable/ic_menu_resume.png new file mode 100644 index 00000000..21af992c Binary files /dev/null and b/GreenTravel/bin/res/drawable/ic_menu_resume.png differ diff --git a/GreenTravel/bin/res/drawable/ic_menu_settings.png b/GreenTravel/bin/res/drawable/ic_menu_settings.png new file mode 100644 index 00000000..fa158438 Binary files /dev/null and b/GreenTravel/bin/res/drawable/ic_menu_settings.png differ diff --git a/GreenTravel/bin/res/drawable/ic_menu_start.png b/GreenTravel/bin/res/drawable/ic_menu_start.png new file mode 100644 index 00000000..d54e3ad1 Binary files /dev/null and b/GreenTravel/bin/res/drawable/ic_menu_start.png differ diff --git a/GreenTravel/bin/res/drawable/icon.png b/GreenTravel/bin/res/drawable/icon.png new file mode 100644 index 00000000..4683da62 Binary files /dev/null and b/GreenTravel/bin/res/drawable/icon.png differ diff --git a/GreenTravel/bin/res/drawable/logo.png b/GreenTravel/bin/res/drawable/logo.png new file mode 100644 index 00000000..3e24adc0 Binary files /dev/null and b/GreenTravel/bin/res/drawable/logo.png differ diff --git a/GreenTravel/gen/org/commoditysoftware/greentravel/R.java b/GreenTravel/gen/org/commoditysoftware/greentravel/R.java new file mode 100644 index 00000000..a6938e4f --- /dev/null +++ b/GreenTravel/gen/org/commoditysoftware/greentravel/R.java @@ -0,0 +1,89 @@ +/* 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 org.commoditysoftware.greentravel; + +public final class R { + public static final class attr { + } + public static final class color { + public static final int black=0x7f040004; + public static final int darker_gray=0x7f040000; + public static final int green=0x7f040003; + /** Retrieved via Resources.getColor() and friends. + */ + public static final int red=0x7f040002; + public static final int semitrans_gray=0x7f040001; + } + public static final class drawable { + public static final int greendriving_for_android=0x7f020000; + public static final int greendriving_settings=0x7f020001; + public static final int greendriving_tripcalc=0x7f020002; + public static final int ic_menu_end=0x7f020003; + public static final int ic_menu_pause=0x7f020004; + public static final int ic_menu_resume=0x7f020005; + public static final int ic_menu_settings=0x7f020006; + public static final int ic_menu_start=0x7f020007; + public static final int icon=0x7f020008; + public static final int logo=0x7f020009; + } + public static final class id { + public static final int Chronometer01=0x7f070014; + public static final int TextView01=0x7f070003; + public static final int TextView02=0x7f070009; + public static final int TextView03=0x7f07001f; + public static final int chrono_text=0x7f070013; + public static final int co2=0x7f070005; + public static final int co2_label=0x7f070004; + public static final int delt_text=0x7f07001a; + public static final int distance=0x7f07001c; + public static final int distance_label=0x7f07001b; + public static final int doStuff=0x7f070006; + public static final int donateNow=0x7f07000c; + public static final int done=0x7f070011; + public static final int gps_text=0x7f070015; + public static final int latitude=0x7f070017; + public static final int latitude_label=0x7f070016; + public static final int learnMore=0x7f070008; + public static final int longitude=0x7f070019; + public static final int longituede_label=0x7f070018; + public static final int proceedToTrip=0x7f07000a; + public static final int results_layout=0x7f070002; + public static final int screen1_layout=0x7f070007; + public static final int screen4_layout=0x7f07000b; + public static final int screen5_layout=0x7f07000e; + public static final int screen7_layout=0x7f07000f; + public static final int settings_layout=0x7f070010; + public static final int speec_label=0x7f07001d; + public static final int splash_screen_layout=0x7f070000; + public static final int start_trip_layout=0x7f070012; + public static final int velocity=0x7f07001e; + public static final int version=0x7f070001; + public static final int whoYouIs=0x7f07000d; + } + public static final class layout { + public static final int main=0x7f030000; + public static final int results=0x7f030001; + public static final int screen1=0x7f030002; + public static final int screen4=0x7f030003; + public static final int screen5=0x7f030004; + public static final int screen7=0x7f030005; + public static final int settings=0x7f030006; + public static final int start_trip=0x7f030007; + } + public static final class string { + public static final int app_name=0x7f050001; + public static final int hello=0x7f050000; + public static final int learn_more=0x7f050002; + public static final int proceed=0x7f050003; + } + public static final class style { + public static final int ActionButton=0x7f060000; + public static final int TextAppearance=0x7f060001; + public static final int TextAppearance_ActionButton=0x7f060002; + } +} diff --git a/GreenTravel/lint.xml b/GreenTravel/lint.xml new file mode 100644 index 00000000..ee0eead5 --- /dev/null +++ b/GreenTravel/lint.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/GreenTravel/project.properties b/GreenTravel/project.properties new file mode 100644 index 00000000..797fb4fc --- /dev/null +++ b/GreenTravel/project.properties @@ -0,0 +1,13 @@ +# 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 use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Indicates whether an apk should be generated for each density. +split.density=false +# Project target. +target=android-7 diff --git a/GreenTravel/res/drawable-hdpi/icon.png b/GreenTravel/res/drawable-hdpi/icon.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/GreenTravel/res/drawable-hdpi/icon.png differ diff --git a/GreenTravel/res/drawable-ldpi/icon.png b/GreenTravel/res/drawable-ldpi/icon.png new file mode 100644 index 00000000..1095584e Binary files /dev/null and b/GreenTravel/res/drawable-ldpi/icon.png differ diff --git a/GreenTravel/res/drawable-mdpi/icon.png b/GreenTravel/res/drawable-mdpi/icon.png new file mode 100644 index 00000000..a07c69fa Binary files /dev/null and b/GreenTravel/res/drawable-mdpi/icon.png differ diff --git a/GreenTravel/res/drawable/greendriving_for_android.png b/GreenTravel/res/drawable/greendriving_for_android.png new file mode 100644 index 00000000..16e09088 Binary files /dev/null and b/GreenTravel/res/drawable/greendriving_for_android.png differ diff --git a/GreenTravel/res/drawable/greendriving_settings.png b/GreenTravel/res/drawable/greendriving_settings.png new file mode 100644 index 00000000..3f0d7a52 Binary files /dev/null and b/GreenTravel/res/drawable/greendriving_settings.png differ diff --git a/GreenTravel/res/drawable/greendriving_tripcalc.png b/GreenTravel/res/drawable/greendriving_tripcalc.png new file mode 100644 index 00000000..d1b562f6 Binary files /dev/null and b/GreenTravel/res/drawable/greendriving_tripcalc.png differ diff --git a/GreenTravel/res/drawable/ic_menu_end.png b/GreenTravel/res/drawable/ic_menu_end.png new file mode 100644 index 00000000..f69613e7 Binary files /dev/null and b/GreenTravel/res/drawable/ic_menu_end.png differ diff --git a/GreenTravel/res/drawable/ic_menu_pause.png b/GreenTravel/res/drawable/ic_menu_pause.png new file mode 100644 index 00000000..b03e7ab3 Binary files /dev/null and b/GreenTravel/res/drawable/ic_menu_pause.png differ diff --git a/GreenTravel/res/drawable/ic_menu_resume.png b/GreenTravel/res/drawable/ic_menu_resume.png new file mode 100644 index 00000000..0bd0f539 Binary files /dev/null and b/GreenTravel/res/drawable/ic_menu_resume.png differ diff --git a/GreenTravel/res/drawable/ic_menu_settings.png b/GreenTravel/res/drawable/ic_menu_settings.png new file mode 100644 index 00000000..e8779a97 Binary files /dev/null and b/GreenTravel/res/drawable/ic_menu_settings.png differ diff --git a/GreenTravel/res/drawable/ic_menu_start.png b/GreenTravel/res/drawable/ic_menu_start.png new file mode 100644 index 00000000..65cea0ab Binary files /dev/null and b/GreenTravel/res/drawable/ic_menu_start.png differ diff --git a/GreenTravel/res/drawable/icon.png b/GreenTravel/res/drawable/icon.png new file mode 100644 index 00000000..5a382fc4 Binary files /dev/null and b/GreenTravel/res/drawable/icon.png differ diff --git a/GreenTravel/res/drawable/logo.png b/GreenTravel/res/drawable/logo.png new file mode 100644 index 00000000..1798451c Binary files /dev/null and b/GreenTravel/res/drawable/logo.png differ diff --git a/GreenTravel/res/layout/main.xml b/GreenTravel/res/layout/main.xml new file mode 100644 index 00000000..f2ea079c --- /dev/null +++ b/GreenTravel/res/layout/main.xml @@ -0,0 +1,35 @@ + + + + + + diff --git a/GreenTravel/res/layout/results.xml b/GreenTravel/res/layout/results.xml new file mode 100644 index 00000000..aa113ee3 --- /dev/null +++ b/GreenTravel/res/layout/results.xml @@ -0,0 +1,44 @@ + + + + + + + + + + +