View Single Post
Old 09-03-2007, 07:21 PM   #19 (permalink)
New Member
Join Date: Sep 2007
Model: 8800
Carrier: cingular
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default accessing blackberry.location will work from Javascript...

If you first tickle the device to activate the GPS (e.g. via something like Google Maps), the code will work. But if you DON'T do this, you'll get 0,0 as your lat,long from javascript, no matter where you are. After awakening the device's GPS via something besides the browser (again, e.g. GMaps), you'll get legitimate values.

This is confirmed on my BB 8800 with Cingular.

So now the question becomes: anyone have any way to awaken the GPS from within the browser / JS?

john manoogian III / jm3
Offline   Reply With Quote