GPS javascript

7 views
Skip to first unread message

Stan Wiechers

unread,
Jul 8, 2009, 3:52:10 PM7/8/09
to iphone...@googlegroups.com
hey,

is there a way to use navigator.geolocation in the SDK emulator. i can use it in the real device, but can't get it to work in the emulator.

this works on the device: http://smithsrus.com/geo.html but not the emulator.

thanks, appreciate any leads,
stan

wayne.parrott

unread,
Jul 28, 2009, 8:32:23 AM7/28/09
to iPhoneWebDev
Sorry for the late reply. MobiOne includes an iPhone emulator on
Windows that provides the full iPhone 3.0 HTML5 api support including
the geolocation api. Check it out at http://genuitec.com/mobile You
can test and debug your iPhone mobile location app on your desktop
with MobiOne very quickly before moving to testing on a device.

Wayne

On Jul 8, 2:52 pm, Stan Wiechers <whoiss...@gmail.com> wrote:
> hey,
>
> is there a way to use navigator.geolocation in the SDK emulator. i can use
> it in the real device, but can't get it to work in the emulator.
>
> this works on the device:http://smithsrus.com/geo.htmlbut not the

Stan Wiechers

unread,
Jul 28, 2009, 1:02:27 PM7/28/09
to iphone...@googlegroups.com
great. will give it a try.

In the meantime i wrote a library that wraps geo location access for iphone, pre (apps), blackberry, android, nokia ovi apps with a single API and making the ones that are not w3c compliant as compliant as possible.

http://code.google.com/p/geo-location-javascript/

give it a try.
--
"Local color. Soak it up"
Virginia Vidaura

http://www.merkwelt.com/people/stan/

please overlook typos
Reply all
Reply to author
Forward
0 new messages