02-19-2010 08:41 AM
If I load the following page on a Curve 8520, it reports that the GPS Enabled, even though it doesn't have one!!
Does anyone know of a more reliable way of detecting the presence of a GPS receiver and if it's enabled via the browser?
<HTML>
<HEAD>
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
<!--
if(blackberry.location.GPSSupported)
document.write('GPS Supported');
else
document.write('GPS Not Supported');
//-->
</SCRIPT>
</BODY>
</HTML>
02-26-2010 06:39 AM
Hi dpicky,
What version of the BlackBerry OS is the 8520 running. If it is 5.0 you may have another option with Gears.
02-26-2010 07:18 AM
Hi Tim
Cheers for the response. The unit has 4.6.1.305 on it. Aware of the Gears location feature of 5.0 but got some MDS Runtime apps so can't go 5 just yet ![]()
Dave
02-26-2010 11:30 AM
Hi Dave,
I downloaded the 8520 Simulator with OS 4.6.1.305 and I tried your JavaScript. When I ran it, the text displayed was "GPS Not Supported". So it appeared to be working.
At first it didn't work for me until I realized I didn't have JavaScript turned on in the browser