12-10-2011 11:45 AM
I'm trying to use the navigator.geolocation functions in the new webworks api....
However it doesn't seem to work in the 8520 simulator. But I thought that the new webworks SDK includes the html5 shim so O.S. 5 devices recieve the geo-location capabilities?
Why then would the api reference O.S. 5 https://bdsc.webapps.blackberry.com/html5/apis/nav
12-12-2011 03:49 PM - edited 12-15-2011 04:40 PM
Are you running the MDS simulator as well, this is necessary for an internet connection.
I was able to get the sample running on a 5.0 sim without any changes to the code.
In general you may find it faster to emulate in RIpple but this example should work great in both places.
PS if you want to simulate different locations in the sim this can be done by going Simulate -> GPS Location...