From 70466283bbbfed2aeb1f17aa670075da63335545 Mon Sep 17 00:00:00 2001 From: Chris Gould Date: Sun, 27 Jan 2013 21:26:56 -0800 Subject: [PATCH] Default radius to avoid crash, add buttons to start and stop service --- .classpath | 5 +- .settings/org.eclipse.jdt.core.prefs | 4 ++ default.properties | 11 ---- project.properties | 14 +++++ res/layout/stored_locations.xml | 25 +++++++++ .../android/LocationListenerService.java | 53 ++++++++++++------- src/com/shinetech/android/Preferences.java | 2 +- .../android/ShowStoredLocationActivity.java | 39 +++++++++++--- 8 files changed, 112 insertions(+), 41 deletions(-) create mode 100644 .settings/org.eclipse.jdt.core.prefs delete mode 100644 default.properties create mode 100644 project.properties mode change 100644 => 100755 res/layout/stored_locations.xml mode change 100644 => 100755 src/com/shinetech/android/LocationListenerService.java mode change 100644 => 100755 src/com/shinetech/android/Preferences.java mode change 100644 => 100755 src/com/shinetech/android/ShowStoredLocationActivity.java diff --git a/.classpath b/.classpath index 609aa00..4160c21 100644 --- a/.classpath +++ b/.classpath @@ -1,7 +1,8 @@ + - - + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b080d2d --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/default.properties b/default.properties deleted file mode 100644 index 420db56..0000000 --- a/default.properties +++ /dev/null @@ -1,11 +0,0 @@ -# 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, -# "build.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=Google Inc.:Google APIs:8 diff --git a/project.properties b/project.properties new file mode 100644 index 0000000..85aac54 --- /dev/null +++ b/project.properties @@ -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-8 diff --git a/res/layout/stored_locations.xml b/res/layout/stored_locations.xml old mode 100644 new mode 100755 index 1028b4a..2f3db7b --- a/res/layout/stored_locations.xml +++ b/res/layout/stored_locations.xml @@ -2,6 +2,31 @@ + + + +