Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
NuShrike
Old
(Last edited by Noonski; 4th May 2009 at 09:42 AM.) Reason: title was not Google Friendly.
#1  
NuShrike's Avatar
Elite Recognized Developer - OP
Thanks Meter 6
Posts: 1,024
Join Date: Sep 2007
Exclamation [APP] Fusion GPS Fix 1.0.1.1 2009/03/13

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, 402 views)
File Type: cab FusionGPSFix.1.0.1.1.CAB - [Click for QR Code] (18.9 KB, 561 views)
active: HTC G2 -- B&N NookColor -- Nexus 7 -- SG4
Support what I do and donate me a frankfurter.
 
crazyC
Old
#2  
Senior Member
Thanks Meter 25
Posts: 978
Join Date: Jul 2006
Location: Gravesend
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
__________________
HTC One X (Vodafone UK) - ARHD 18.2 Stock kernel.
HTC Desire Z (Vodafone UK) - Donated to the father-in-law to play Words with Friends
Touch Pro 2 (Vodafone UK) - ROM: Psychosis (Home baked using OsKitchen)-now sent to mazuma mobile....
O2 XDA Serra - Home Cooked ROM- now sent to mazuma mobile....
O2 XDA Stellar - KaiserChef creation based on Mbarvian's Solace ROMs - now Deceased
Orange M3100 - now just gathering dust.....
 
norkoastal
Old
#3  
norkoastal's Avatar
Senior Member
Thanks Meter 14
Posts: 619
Join Date: Dec 2007
Location: Bay Area
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...
Device: 3vo - Shootem! | ROM: Stock
Nook Color | ROM: Full Root Running CM7
 
NuShrike
Old
#4  
NuShrike's Avatar
Elite Recognized Developer - OP
Thanks Meter 6
Posts: 1,024
Join Date: Sep 2007
Quote:
Originally Posted by crazyC View Post
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.
active: HTC G2 -- B&N NookColor -- Nexus 7 -- SG4
Support what I do and donate me a frankfurter.
 
NuShrike
Old
#5  
NuShrike's Avatar
Elite Recognized Developer - OP
Thanks Meter 6
Posts: 1,024
Join Date: Sep 2007
Default 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.
active: HTC G2 -- B&N NookColor -- Nexus 7 -- SG4
Support what I do and donate me a frankfurter.
 
NLS
Old
#6  
NLS's Avatar
Senior Member
Thanks Meter 21
Posts: 2,271
Join Date: May 2005
Location: Piraeus
looks like a great idea, I wonder how it works in practice
NLS
*** I WANT YOUR SERVICE initiative ***
My Blog

Devices: (many in the past, still in possesion the following) HTC Touch Pro 6.5.3 NRG, HTC HD2 (RULEZ) 6.5.3 Artemis, Samsung Galaxy Note (magic).

USE FORUM SEARCH! USE GOOGLE SEARCH!

Also: THIS guy is unbelievable! (in a bad way)
 
NuShrike
Old
#7  
NuShrike's Avatar
Elite Recognized Developer - OP
Thanks Meter 6
Posts: 1,024
Join Date: Sep 2007
Quote:
Originally Posted by NLS View Post
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.
active: HTC G2 -- B&N NookColor -- Nexus 7 -- SG4
Support what I do and donate me a frankfurter.
 
norkoastal
Old
#8  
norkoastal's Avatar
Senior Member
Thanks Meter 14
Posts: 619
Join Date: Dec 2007
Location: Bay Area
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
Device: 3vo - Shootem! | ROM: Stock
Nook Color | ROM: Full Root Running CM7
 
NuShrike
Old
#9  
NuShrike's Avatar
Elite Recognized Developer - OP
Thanks Meter 6
Posts: 1,024
Join Date: Sep 2007
Quote:
Originally Posted by norkoastal View Post
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.
active: HTC G2 -- B&N NookColor -- Nexus 7 -- SG4
Support what I do and donate me a frankfurter.
 
sblop
Old
#10  
sblop's Avatar
Senior Member
Thanks Meter 5
Posts: 408
Join Date: Sep 2007
Location: Svendborg
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+
Tags
fuze, gps, raphael, touch pro
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more