07-18-2008, 04:16 PM
Knows Where the Search Button Is
Join Date: Oct 2005
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | How to handle when JSR179 (bluetooth GPS) moves out of range or off...
Please Login to Remove!
I've got a GPS tracking app (BB8100-GlobalSat BT386i) working fine as long as the bluetooth GPS is in range and is on. I have a timertask that wakes up, creates a location provider and gets a location. Works great until I move the phone out of range or turn the GPS unit off. From then on the getLocation just throws a timeout exception every time the timertask wakes up and calls it, even when I am back in range or the unit is turned on again. I can exit and restart the application but that (of course) isn't a workable solution.
Has anyone else run into this issue and solved it?