Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] Fusion GPS Fix 1.0.1.1 2009/03/13

OP NuShrike

6th January 2009, 09:12 PM   |  #1  
NuShrike's Avatar
OP Senior Recognized Developer
Thanks Meter: 14
 
1,046 posts
Join Date:Joined: Sep 2007
More
So here's something to try to deal with the anemic GPS on the Raphael, and any other post-WM5 with slow GPS locking.

This app runs after install, and after soft-reset, and immediately starts up the GPS hardware through the WM5+ GPS API. It waits 5 minutes for a GPS lock, or it quits. A pop-up will tell you whether GPS lock was established or timed out before it quits.

The GPS polling is limited to every 5 seconds to try to conserve some CPU cycles. Currently does not use AGPS, but you can turn it on/off at your registry leisure.

This attempts to reduce the Time-To-First-Fix (TTFF) during which the GPS ephemeris almanac is slowly built up. This can take up to 12.5 minutes for a non-QuickGPS/AGPS accelerated device from a cold-start. By kick-starting immediately after soft-reset, subsequent GPS locks for the next ~6 days (without updating QuickGPS) should be much quicker.

Takes 23K of disk, and 1K of ram.

updates:
1.0.1.1: GPS power kept on until lock or timeout using CABuddy's GPS code framework; states lock time in seconds
1.0.0.5: added much belated icon to app and top-bar
1.0.0.4: switched from pop-up window to wifi notify-style pop-up (457)
1.0.0.3: fix multi-threading issues that caused popup notifications to fail
1.0.0.2: makes sure the app is disconnected from the GPS before the app exits
Attached Files
File Type: cab FusionGPSFix.1.0.0.5.CAB - [Click for QR Code] (18.8 KB, 411 views)
File Type: cab FusionGPSFix.1.0.1.1.CAB - [Click for QR Code] (18.9 KB, 585 views)
Last edited by Noonski; 4th May 2009 at 10:42 AM. Reason: title was not Google Friendly.
6th January 2009, 09:53 PM   |  #2  
crazyC's Avatar
Senior Member
Flag Gravesend
Thanks Meter: 27
 
1,002 posts
Join Date:Joined: Jul 2006
More
Will get my raphael tomorrow (O2 Serra) and have heard of and been concerned at the various GPS issues - could you explain this app a bit more ?

Many thanks
6th January 2009, 10:23 PM   |  #3  
norkoastal's Avatar
Senior Member
Flag Bay Area
Thanks Meter: 15
 
619 posts
Join Date:Joined: Dec 2007
More
so compared to launching say GPS test every morning this would save battery life since its not constantly trying to lock? Sounds like a better alternative...
6th January 2009, 10:59 PM   |  #4  
NuShrike's Avatar
OP Senior Recognized Developer
Thanks Meter: 14
 
1,046 posts
Join Date:Joined: Sep 2007
More
Quote:
Originally Posted by crazyC

Will get my raphael tomorrow (O2 Serra) and have heard of and been concerned at the various GPS issues - could you explain this app a bit more ?

Raphael, or just the FUZE, has much weaker GPS reception compared to my Kaiser, and will take a lot longer to lock to the GPS signal. FusionGPSFix acts like a GPS app and basically does an automatic cold-start of the GPS after soft-reset which many people have been doing manually.

When the GPS data from the WM5+ GPSAPI says the quality of the GPS signal is GPS or DGPS, then that's when all other GPS apps will get an instant lock.

So FusionGPSFix then quits out, and that's it until next soft-reset, or manual run.

norkoastal: yes, but I'm not sure how long of a period before it needs a kick again. Once I find a pattern, I may try to schedule a run every few hours, or every few hours after you turn on the device.
7th January 2009, 12:14 PM   |  #5  
NuShrike's Avatar
OP Senior Recognized Developer
Thanks Meter: 14
 
1,046 posts
Join Date:Joined: Sep 2007
More
1.0.0.2
Updated version posted which makes sure the connection to the GPS is shut off before the app exits. I had a strange issue of battery drain that I couldn't trace to a dangling process otherwise today.

Verified GPS operation and shutoff with a Kaiser which has the useful GPS blinky lights, and with HomeScreen PlusPlus which shows battery drain levels.

Works great with CamerAware Buddy and Navizon.
7th January 2009, 01:11 PM   |  #6  
NLS's Avatar
Senior Member
Flag Piraeus
Thanks Meter: 46
 
2,393 posts
Join Date:Joined: May 2005
looks like a great idea, I wonder how it works in practice
8th January 2009, 01:40 AM   |  #7  
NuShrike's Avatar
OP Senior Recognized Developer
Thanks Meter: 14
 
1,046 posts
Join Date:Joined: Sep 2007
More
Quote:
Originally Posted by NLS

looks like a great idea, I wonder how it works in practice

How's it working for you? So far now I'm maintaining quick locks that take only a few seconds.

I do activesync multiple times a day so QuickGPS updates very often also.
8th January 2009, 02:19 AM   |  #8  
norkoastal's Avatar
Senior Member
Flag Bay Area
Thanks Meter: 15
 
619 posts
Join Date:Joined: Dec 2007
More
any plans on making a icon for the app? I was thinkink I could map it to my ptt button or launch from my favored programs list. thanks
8th January 2009, 03:15 AM   |  #9  
NuShrike's Avatar
OP Senior Recognized Developer
Thanks Meter: 14
 
1,046 posts
Join Date:Joined: Sep 2007
More
Quote:
Originally Posted by norkoastal

any plans on making a icon for the app? I was thinkink I could map it to my ptt button or launch from my favored programs list. thanks

I'll try a rusty hand at it for the next update.
8th January 2009, 12:22 PM   |  #10  
sblop's Avatar
Senior Member
Flag Svendborg
Thanks Meter: 12
 
446 posts
Join Date:Joined: Sep 2007
Great app.

I just had the problem wit batterydraining.
The last two days I have been happy if my phone could do 6 hours. :)

I have notised that the program gives a pop-up telling weather or not I has gotten a gps fix... - As I have my phone restarting automatic about 3am, I would like to know if the program disconnect from the gps before this popup shows, so my phone doesnt drain during the night. ;)

Post Reply Subscribe to Thread

Tags
fuze, gps, raphael, touch pro
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes