BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-18-2008, 04:16 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Oct 2005
Model: 7250
Carrier: ATT
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Old 07-18-2008, 04:44 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
richard.puckett's Avatar
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
Carrier: T-Mobile
Posts: 212
Post Thanks: 0
Thanked 0 Times in 0 Posts

The closest I can get to your environment right now is an 8120 and a Garmin Mobile 10. I'm working on something right now, but if I have time over the weekend I'll see if I can repro your issue with my hardware.
Do your homework and know how to ask a good question.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.