Skip to content

Commit

Permalink
v1.2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andygup committed Feb 3, 2013
1 parent 674656b commit d513a27
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -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" />


Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Binary file modified bin/GPSTester.apk
Binary file not shown.
Binary file modified bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/dexedLibs/annotations-47a11f1950f2b70f78fe2403002ab994.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/resources.ap_
Binary file not shown.
12 changes: 8 additions & 4 deletions src/com/agup/gps/controllers/GPSTesterActivityController.java
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ public void onProviderDisabled(String provider) {}
*/
public void delayedStartCachedLocationProviders(){

final Handler handler = new Handler();

Runnable task = new Runnable() {

int counter = 0;
Expand All @@ -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){
Expand All @@ -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() {
Expand Down Expand Up @@ -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;
Expand All @@ -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() {
Expand All @@ -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() {
Expand Down

0 comments on commit d513a27

Please sign in to comment.