BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-14-2010, 10:15 AM   #1
kaban
New Member
 
Join Date: Mar 2010
Model: Curve
PIN: N/A
Carrier: Verizon
Posts: 1
Default GPS coordinates (Verizon: VZ navigator activated)

Please Login to Remove!

Hey Folks

Here's the deal.

I have a corporate BB which is connected to BES server.
I've put a sample web page together when, via Blackberry, you visit the website it displays Latitude and Longitude.

The carrier is Verizon and yes, VZ navigator is activated.
for lat. and long. I'm getting zeros (and yes I did sit outside for some time under the clear sky)
Currently I'm performing tests using this code:

*****************************
<code>

<script type="text/javascript">
var modeCellsite = 0;
var modeAssisted = 1;
var modeAutonomous = 2;

function locationChanged() {
alert("Lat " + blackberry.location.latitude +
" Lon " + blackberry.location.longitude +
" Time " + blackberry.location.timestamp);
return true;
}

if (window.blackberry && blackberry.location.GPSSupported) {
var isUpdated = false;
var theCount = 0;

alert("Location tracking is supported");

blackberry.location.onLocationUpdate("locationChan ged()");
blackberry.location.setAidMode(modeAutonomous);

while (theCount++ < 10 && !isUpdated)
isUpdated = blackberry.location.refreshLocation();
}
else {
document.write("Location tracking is not supported");
}
</script>
</code>
*******************************
any ideas will be much appreciated

thanks a bunch in advance
Offline  
Old 05-14-2010, 11:48 AM   #2
Dubdub
Appleinator
 
Dubdub's Avatar
 
Join Date: Nov 2005
Location: New Hampshire
Model: App6+
OS: AJBR549
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,038
Default

Moved to a more appropriate section
__________________
-->>BB FAQ

-->>Stinsonddog's Tip Site!

-->>Twitter


If someone helps, tell them by clicking the Thanks button.!!
Offline  
Closed Thread



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

Forum Jump


Welch Allyn Standard (bulb) MAC 2 Laryngoscope Blade #69042 New in OEM Box picture

Welch Allyn Standard (bulb) MAC 2 Laryngoscope Blade #69042 New in OEM Box

$19.77



OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet  picture

OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet

$2.99



10 Feet/3M For iPhone 13 12 11 PRO MAX MINI  X XR XS 8 7 Fast Charging USB Cable picture

10 Feet/3M For iPhone 13 12 11 PRO MAX MINI X XR XS 8 7 Fast Charging USB Cable

$5.00



iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M picture

iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M

$4.99



18 x Sunmed Macintosh Standard (Lamp) Laryngoscope Blades, Size 2, OEM ~17016 picture

18 x Sunmed Macintosh Standard (Lamp) Laryngoscope Blades, Size 2, OEM ~17016

$129.99



18309-0090 Carter Hoffmann Appl Leg Rubber Foot Genuine OEM CAR18309-0090 picture

18309-0090 Carter Hoffmann Appl Leg Rubber Foot Genuine OEM CAR18309-0090

$55.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.