Permalink
Browse files

v1.2.1.1

  • Loading branch information...
1 parent 674656b commit d513a271e318b4d475d75c7bc6a1eafc0c5e2a60 @andygup andygup committed Feb 3, 2013
View
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.agup.gps"
- android:versionCode="4"
- android:versionName="1.2.1">
+ android:versionCode="5"
+ android:versionName="1.2.1.1">
<uses-sdk android:minSdkVersion="11" />
View
@@ -1,5 +1,8 @@
# GPSTester - Changelog
+## Version 1.2.1.1 - February 3, 2013
+- Field testing showed a few more tweaks needed on the threading.
+
## Version 1.2.1 - February 3, 2013
- Fixed several more threading issues as related to UI lagginess.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
@@ -767,6 +767,8 @@ public void onProviderDisabled(String provider) {}
*/
public void delayedStartCachedLocationProviders(){
+ final Handler handler = new Handler();
+
Runnable task = new Runnable() {
int counter = 0;
@@ -787,7 +789,7 @@ public void run() {
if(mapLoaded == true && _lastKnownLocationGPSProvider != null && _lastKnownLocationNetworkProvider != null){
//Run results back on the UI thread
- _map.post(mDelayedStartUpdateResultsOnUI);
+ handler.post(mDelayedStartUpdateResultsOnUI);
}
}
else if (counter < 5){
@@ -796,7 +798,7 @@ else if (counter < 5){
else{
Log.d("GPSTester","delayedStartCachedLocationProviders(): Unable to start Location Listener.");
//Run Toast on UI thread
- _map.post(new Runnable() {
+ handler.post(new Runnable() {
@Override
public void run() {
@@ -857,6 +859,8 @@ public void run() {
*/
public void delayedStartLocationProvider(final Boolean startGPS){
+ final Handler handler = new Handler();
+
Runnable task = new Runnable() {
int counter = 0;
@@ -877,7 +881,7 @@ public void run() {
Log.d("GPSTester","delayedStartLocationProvider(): map is loaded.");
//Switch back to running the following methods on the UI thread
- _map.post(new Runnable() {
+ handler.post(new Runnable() {
@Override
public void run() {
@@ -900,7 +904,7 @@ else if (counter < 5){
else{
Log.d("GPSTester","delayedStartLocationProvider(): Unable to start Location Listener.");
//Display toast on the UI thread
- _map.post(new Runnable() {
+ handler.post(new Runnable() {
@Override
public void run() {

0 comments on commit d513a27

Please sign in to comment.