diff --git a/LocationLib/bin/locationlib.jar b/LocationLib/bin/locationlib.jar index 821146e..24b85ed 100644 Binary files a/LocationLib/bin/locationlib.jar and b/LocationLib/bin/locationlib.jar differ diff --git a/LocationLib/bin/res/drawable-hdpi/map_action_bar.png b/LocationLib/bin/res/drawable-hdpi/map_action_bar.png deleted file mode 100644 index a2917c3..0000000 Binary files a/LocationLib/bin/res/drawable-hdpi/map_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-hdpi/map_mode_action_bar.png b/LocationLib/bin/res/drawable-hdpi/map_mode_action_bar.png deleted file mode 100644 index d89852e..0000000 Binary files a/LocationLib/bin/res/drawable-hdpi/map_mode_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-hdpi/mark_my_location_action_bar.png b/LocationLib/bin/res/drawable-hdpi/mark_my_location_action_bar.png deleted file mode 100644 index df09838..0000000 Binary files a/LocationLib/bin/res/drawable-hdpi/mark_my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-hdpi/my_location_action_bar.png b/LocationLib/bin/res/drawable-hdpi/my_location_action_bar.png deleted file mode 100644 index cb44adf..0000000 Binary files a/LocationLib/bin/res/drawable-hdpi/my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-hdpi/nav_action_bar.png b/LocationLib/bin/res/drawable-hdpi/nav_action_bar.png deleted file mode 100644 index b8213ec..0000000 Binary files a/LocationLib/bin/res/drawable-hdpi/nav_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-ldpi/map_action_bar.png b/LocationLib/bin/res/drawable-ldpi/map_action_bar.png deleted file mode 100644 index a50e0e1..0000000 Binary files a/LocationLib/bin/res/drawable-ldpi/map_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-ldpi/map_mode_action_bar.png b/LocationLib/bin/res/drawable-ldpi/map_mode_action_bar.png deleted file mode 100644 index faca1db..0000000 Binary files a/LocationLib/bin/res/drawable-ldpi/map_mode_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-ldpi/mark_my_location_action_bar.png b/LocationLib/bin/res/drawable-ldpi/mark_my_location_action_bar.png deleted file mode 100644 index a4a6019..0000000 Binary files a/LocationLib/bin/res/drawable-ldpi/mark_my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-ldpi/my_location_action_bar.png b/LocationLib/bin/res/drawable-ldpi/my_location_action_bar.png deleted file mode 100644 index 9089f81..0000000 Binary files a/LocationLib/bin/res/drawable-ldpi/my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-ldpi/nav_action_bar.png b/LocationLib/bin/res/drawable-ldpi/nav_action_bar.png deleted file mode 100644 index 5830dc9..0000000 Binary files a/LocationLib/bin/res/drawable-ldpi/nav_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-mdpi/map_action_bar.png b/LocationLib/bin/res/drawable-mdpi/map_action_bar.png deleted file mode 100644 index cbfb81f..0000000 Binary files a/LocationLib/bin/res/drawable-mdpi/map_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-mdpi/map_mode_action_bar.png b/LocationLib/bin/res/drawable-mdpi/map_mode_action_bar.png deleted file mode 100644 index 599ca23..0000000 Binary files a/LocationLib/bin/res/drawable-mdpi/map_mode_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-mdpi/mark_my_location_action_bar.png b/LocationLib/bin/res/drawable-mdpi/mark_my_location_action_bar.png deleted file mode 100644 index eb0a11a..0000000 Binary files a/LocationLib/bin/res/drawable-mdpi/mark_my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-mdpi/my_location_action_bar.png b/LocationLib/bin/res/drawable-mdpi/my_location_action_bar.png deleted file mode 100644 index 6968159..0000000 Binary files a/LocationLib/bin/res/drawable-mdpi/my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-mdpi/nav_action_bar.png b/LocationLib/bin/res/drawable-mdpi/nav_action_bar.png deleted file mode 100644 index 5dadd62..0000000 Binary files a/LocationLib/bin/res/drawable-mdpi/nav_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-xhdpi/map_action_bar.png b/LocationLib/bin/res/drawable-xhdpi/map_action_bar.png deleted file mode 100644 index 75f314a..0000000 Binary files a/LocationLib/bin/res/drawable-xhdpi/map_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-xhdpi/map_mode_action_bar.png b/LocationLib/bin/res/drawable-xhdpi/map_mode_action_bar.png deleted file mode 100644 index 167a0f0..0000000 Binary files a/LocationLib/bin/res/drawable-xhdpi/map_mode_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-xhdpi/mark_my_location_action_bar.png b/LocationLib/bin/res/drawable-xhdpi/mark_my_location_action_bar.png deleted file mode 100644 index de75080..0000000 Binary files a/LocationLib/bin/res/drawable-xhdpi/mark_my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-xhdpi/my_location_action_bar.png b/LocationLib/bin/res/drawable-xhdpi/my_location_action_bar.png deleted file mode 100644 index 745e7f8..0000000 Binary files a/LocationLib/bin/res/drawable-xhdpi/my_location_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable-xhdpi/nav_action_bar.png b/LocationLib/bin/res/drawable-xhdpi/nav_action_bar.png deleted file mode 100644 index 4f89c1d..0000000 Binary files a/LocationLib/bin/res/drawable-xhdpi/nav_action_bar.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/compass.png b/LocationLib/bin/res/drawable/compass.png deleted file mode 100644 index 87848e5..0000000 Binary files a/LocationLib/bin/res/drawable/compass.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/compass_lrg.png b/LocationLib/bin/res/drawable/compass_lrg.png deleted file mode 100644 index 7fce2d5..0000000 Binary files a/LocationLib/bin/res/drawable/compass_lrg.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/compass_med.png b/LocationLib/bin/res/drawable/compass_med.png deleted file mode 100644 index d847df4..0000000 Binary files a/LocationLib/bin/res/drawable/compass_med.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/compass_sm.png b/LocationLib/bin/res/drawable/compass_sm.png deleted file mode 100644 index 54ce936..0000000 Binary files a/LocationLib/bin/res/drawable/compass_sm.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/logoidea3.png b/LocationLib/bin/res/drawable/logoidea3.png deleted file mode 100644 index fdc73c3..0000000 Binary files a/LocationLib/bin/res/drawable/logoidea3.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/needle.png b/LocationLib/bin/res/drawable/needle.png deleted file mode 100644 index 93fad78..0000000 Binary files a/LocationLib/bin/res/drawable/needle.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/needle_lrg.png b/LocationLib/bin/res/drawable/needle_lrg.png deleted file mode 100644 index ba5f535..0000000 Binary files a/LocationLib/bin/res/drawable/needle_lrg.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/needle_med.png b/LocationLib/bin/res/drawable/needle_med.png deleted file mode 100644 index bcd8a6d..0000000 Binary files a/LocationLib/bin/res/drawable/needle_med.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/needle_sm.png b/LocationLib/bin/res/drawable/needle_sm.png deleted file mode 100644 index 258bc24..0000000 Binary files a/LocationLib/bin/res/drawable/needle_sm.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/skyhook_logo_alpha.png b/LocationLib/bin/res/drawable/skyhook_logo_alpha.png deleted file mode 100644 index d5ce291..0000000 Binary files a/LocationLib/bin/res/drawable/skyhook_logo_alpha.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/skyhook_logo_alpha_small.png b/LocationLib/bin/res/drawable/skyhook_logo_alpha_small.png deleted file mode 100644 index 8058c19..0000000 Binary files a/LocationLib/bin/res/drawable/skyhook_logo_alpha_small.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/tc_logo_complete.png b/LocationLib/bin/res/drawable/tc_logo_complete.png deleted file mode 100644 index 073970c..0000000 Binary files a/LocationLib/bin/res/drawable/tc_logo_complete.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/user.png b/LocationLib/bin/res/drawable/user.png deleted file mode 100644 index 579f876..0000000 Binary files a/LocationLib/bin/res/drawable/user.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/user_arrow_animation_1.png b/LocationLib/bin/res/drawable/user_arrow_animation_1.png deleted file mode 100644 index 9c6778e..0000000 Binary files a/LocationLib/bin/res/drawable/user_arrow_animation_1.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/user_arrow_animation_2.png b/LocationLib/bin/res/drawable/user_arrow_animation_2.png deleted file mode 100644 index 630fd72..0000000 Binary files a/LocationLib/bin/res/drawable/user_arrow_animation_2.png and /dev/null differ diff --git a/LocationLib/bin/res/drawable/user_arrow_animation_3.png b/LocationLib/bin/res/drawable/user_arrow_animation_3.png deleted file mode 100644 index c1448f7..0000000 Binary files a/LocationLib/bin/res/drawable/user_arrow_animation_3.png and /dev/null differ diff --git a/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java b/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java index c56738c..2f842ce 100644 --- a/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java +++ b/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java @@ -56,7 +56,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio public void run(){ super.run(); int index = 0; - boolean isCountingUp = true; + boolean isCountingDown = false; while (true) { synchronized (this) { if (isAborted) { @@ -66,33 +66,39 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio switch(index){ case 1: mUserArrow = R.drawable.user_arrow_animation_2; + if(isCountingDown) + index--; + else + index++; + + try { + sleep(100l); + } catch (InterruptedException e) { + e.printStackTrace(); + } break; case 2: mUserArrow = R.drawable.user_arrow_animation_3; + index--; + isCountingDown = true; + try { + sleep(200l); + } catch (InterruptedException e) { + e.printStackTrace(); + } break; default: mUserArrow = R.drawable.user_arrow_animation_1; + index++; + isCountingDown = false; try { - sleep(300l); + sleep(700l); } catch (InterruptedException e) { e.printStackTrace(); return; } break; } - - try { - sleep(200l); - } catch (InterruptedException e) { - e.printStackTrace(); - } - - if(isCountingUp){ - if(index++ == 2) - isCountingUp = false; - } else if(index-- == 0) - isCountingUp = true; - } }