From 34909619dd994bf04f95d73d6b45d49f71a19046 Mon Sep 17 00:00:00 2001 From: macgregor Date: Thu, 25 Oct 2012 20:15:46 +0530 Subject: [PATCH] update --- android/abc | 0 android/mobile/AndroidManifest.xml | 18 +- android/mobile/TODO.txt | 4 +- android/mobile/deploy.sh | 2 +- android/mobile/res/drawable/blue_button.xml | 11 +- android/mobile/res/drawable/listbackgrnd.xml | 36 +- android/mobile/res/layout/find.xml | 359 ++++++---- android/mobile/res/layout/list_button.xml | 25 +- android/mobile/res/layout/listbackgrnd.xml | 2 + android/mobile/res/layout/listlocation.xml | 1 + android/mobile/res/layout/listthreetext.xml | 7 +- android/mobile/res/layout/listtwotextnbtn.xml | 42 +- android/mobile/res/layout/routes.xml | 80 ++- android/mobile/res/menu/mapfullroute.xml | 4 +- android/mobile/res/menu/menustart.xml | 2 +- android/mobile/res/menu/onlymap.xml | 2 +- android/mobile/res/values/strings.xml | 21 +- android/mobile/src/com/best/ui/Best.java | 66 +- .../src/com/best/ui/ExpandedListView.java | 20 +- android/mobile/src/com/best/ui/Find.java | 669 +++++++++++++----- .../mobile/src/com/best/ui/ListLocation.java | 95 +-- android/mobile/src/com/best/ui/Map.java | 85 ++- android/mobile/src/com/best/ui/Routes.java | 90 ++- 23 files changed, 1177 insertions(+), 464 deletions(-) delete mode 100644 android/abc diff --git a/android/abc b/android/abc deleted file mode 100644 index e69de29..0000000 diff --git a/android/mobile/AndroidManifest.xml b/android/mobile/AndroidManifest.xml index 18e71cf..3316b51 100644 --- a/android/mobile/AndroidManifest.xml +++ b/android/mobile/AndroidManifest.xml @@ -1,24 +1,32 @@ + android:versionCode="5" + android:versionName="3.0"> + android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden"> - + + + + + + + + diff --git a/android/mobile/TODO.txt b/android/mobile/TODO.txt index 2312b38..ff3e42b 100644 --- a/android/mobile/TODO.txt +++ b/android/mobile/TODO.txt @@ -8,5 +8,5 @@ Nikita:- 1. Reset max sdk version in AndroidManifest.xml in tag . Now it is set as API level 11. 2. Nearby stops button face. - -3. Off GPS when not required. \ No newline at end of file +3. Off GPS when not required. +4.Map: Specify start and end bus stops \ No newline at end of file diff --git a/android/mobile/deploy.sh b/android/mobile/deploy.sh index d956230..13bd806 100644 --- a/android/mobile/deploy.sh +++ b/android/mobile/deploy.sh @@ -3,5 +3,5 @@ # pushd bin/ -/cygdrive/c/Program\ Files/Android/android-sdk-windows/platform-tools/adb.exe install chalobest-debug.apk +/cygdrive/c/Program\ Files/Android/android-sdk-windows/platform-tools/adb.exe -s emulator-5554 install chalobest-debug.apk popd diff --git a/android/mobile/res/drawable/blue_button.xml b/android/mobile/res/drawable/blue_button.xml index 547b895..9a01f6a 100644 --- a/android/mobile/res/drawable/blue_button.xml +++ b/android/mobile/res/drawable/blue_button.xml @@ -4,18 +4,19 @@ + android:radius="25dp" /> diff --git a/android/mobile/res/drawable/listbackgrnd.xml b/android/mobile/res/drawable/listbackgrnd.xml index 6b60306..fde6e29 100644 --- a/android/mobile/res/drawable/listbackgrnd.xml +++ b/android/mobile/res/drawable/listbackgrnd.xml @@ -1,10 +1,34 @@ - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/mobile/res/layout/find.xml b/android/mobile/res/layout/find.xml index c0b6328..47d6c69 100644 --- a/android/mobile/res/layout/find.xml +++ b/android/mobile/res/layout/find.xml @@ -2,22 +2,53 @@ - - --> + + - + + + android:layout_height="wrap_content" + android:layout_marginTop="10dp"> + + - - - - - - - - -