My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SupportedPlatforms  
Supported Platforms of the Toolkit
Featured
Updated Dec 23, 2010 by whoiss...@gmail.com

Supported OS Platforms & Widget Frameworks

If you think we are missing a platform please leave a comment at the bottom of this page. THANK YOU!

iOS

Since the release of the OS 3.0 Geographic location classes are available in javascript. As with native applications the user is asked for permission per session. Note: This doesn't work in the simulator that ships with the SDK.

Google Gears

Gears is a javascript framework available for Android, Windows Mobile (IE Mobile, Opera Mobile), Mac (Firefox, Safari), Linux and Windows . One of its cores is the Geolocation API. On the mobile phone it asks the user once for permission per site and user, so not every session as in the iPhone OS 3.0. To set the location in the Simulator that ships with the Android SDK please you need to telnet into the SDK and issue a geo statement, much easier then it sounds. It works most of the time, sometimes you need to try multiple telnet sessions to make for android to register the location.

BlackBerry Device OS 6

Devices with BlackBerry OS 6 ship with a webkit browser that support fully supports the W3C geo specification.

BlackBerry Device Software 4.1

Since the release of the Device Software 4.1 (i.e. Bold,8800,8820,...) BlackBerry supports javascript access to the GPS location. Permission is asked once per session. In order to use it on your phone make sure that in javascript location support is enabled (Browser->Options->General Properties). To set the location in the Simulator set the GPS location in the Simulate pull down menu.

Nokia Web Runtime Toolkit

The Nokia WRT is supported by the framework. Permission is asked once per session. You only need to include geo.js in your main html page. Note: The Nokia WRT does not provide a timestamp with the geo location. Note: It only works in applications, not in a regular browser session.

webOS Application Platform

The webOS application platform is now supported by the framework. You need to put the geo.js in your application folder and include it in the main index.html file. All w3c position opyions are supported. Note: It only works in applications, not in a regular browser session.

Bondi Widgets 1.0

The Bondi Widgets framework which implements the W3C geolocation API is supported.

Torch Mobile Iris Browser

The Iris Browser which implements the W3C geolocation API is supported.

Mozilla Geode

The Mozilla Geode Plugin which implements the W3C geolocation API is supported. Only a small change for handling the incoming position had to be injected. Also if you hit "Nothing" in the browser permission dialog you won't get an error message callback, that is a general Geode issue.

Comment by yis...@gmail.com, Jul 10, 2009

Any plans to support webOS on the PalmPre?

Comment by project member whoiss...@gmail.com, Jul 10, 2009

yes looking into webOS right now

Comment by second.c...@gmail.com, Jul 22, 2009

will it work on yahoo fire eagle plugin or mozilla geone?

Comment by project member whoiss...@gmail.com, Jul 22, 2009

mozilla geode is cool, it seems to implement the W3C api, but the position values returned are not compatible with the spec. it specifies the coords are available through p.coords.latitude/p.coords.latitude, but geode seems to return them as p.latitude/p.longitude. So it almost works right of the box but it needs to adapt to it. Are you involved in that project?

Comment by project member whoiss...@gmail.com, Jul 22, 2009

geode is now supported

Comment by second.c...@gmail.com, Jul 23, 2009

is yahoo fire plugin same as geone? or different api?

Comment by project member whoiss...@gmail.com, Jul 23, 2009

not sure haven't looked, but i wonder if anybody is really using it. Check the support forum, latest post 7/17?? 7/20 is spam.

Comment by jean.pas...@gmail.com, Jul 28, 2009

Great, I was too lazy to make it myself so I was hoping someone else did ;)

I didn't know it was possible on BlackBerry? to get geolocation, so I was even more happy to find this framework. Sadly, it didn't work on our BlackBerry? Bold. Is it a setting problem with this device or a new bug?

Comment by project member whoiss...@gmail.com, Jul 28, 2009

it should work on the bold. Did you check this here? "In order to use it on your phone make sure that in javascript location support is enabled (Browser->Options->General Properties)"

Does GPS work for applications you are using?

Comment by jean.pas...@gmail.com, Jul 28, 2009

By the way, Geode is now built-in Firefox 3.5+ and Fennec. Tested and working with Firefox 3.5.1

Comment by project member whoiss...@gmail.com, Jul 28, 2009

are you on an emulator?

Comment by project member whoiss...@gmail.com, Jul 28, 2009

yes, please put everything into "issues", better place. I have had trouble with setting my location first as well in the bb emulator, what i ended up doing was setting the coordinate multiple times, the first time it sometimes would not work. thanks for your help.

Comment by jean.pas...@gmail.com, Jul 29, 2009

Tested and ok with real Google Android 1.5 (thks to Gears) + real iPhone 3.0

Still not working on BlackBerry? => see Issues working on a correction.

Comment by jean.pas...@gmail.com, Jul 29, 2009

Fix for BlackBerry? available in Issues, it's working now (but slower than other platforms + require the user to modify a setting in his web browser)

Comment by wil...@gmail.com, Nov 3, 2009

Working on iPhone, HTC (android), and N97 (for new release)

One note for N97 - it uses one service at any given time so if you request GPS twice or more times before geting answer - you might hang device/dont get any response at all

Comment by wil...@gmail.com, Nov 3, 2009

One more note for N97 - It using device. object that is declared within widget.

Supported Nokia devices is s60 5th generation with WRT 1.1

More information here: http://library.forum.nokia.com/topic/Web_Developers_Library/GUID-1A3ECAC1-3F09-4602-A1CD-82164040A664.html#GUID-1A3ECAC1-3F09-4602-A1CD-82164040A664

Comment by magesh...@gmail.com, Nov 10, 2009

Palm Pre Browser support geoloction API? when i try to access the sample api i got an "Functionality not available" Message.

Comment by project member whoiss...@gmail.com, Nov 11, 2009

The palm pre browser doesn't support it to my knowledge, but you can use library when developing an app for palm pre. That will allow you to create code that id w3c compliant and will be reusable on other platforms.

Comment by stlh...@gmail.com, Jan 25, 2010

FYI, it looks like the http://www.merkwelt.com domain (where the samples are hosted) has expired. I was trying to find the Nokia WRT example (http://www.merkwelt.com/people/stan/geo_js/geo-location-js-sample.wgz) but it's gone...

Comment by casmate...@gmail.com, Mar 2, 2010

I would understand some things about this project, like if this platform is just javascript code for include in web page, but have maps incluided? This javascript source use gps of the phones for get the location?

Comment by project member whoiss...@gmail.com, Mar 8, 2010

www.merkwelt.com is up again, there were some issues with my hosting provider.

Comment by swati.r...@gmail.com, Jun 3, 2010

Tested this on WebOS...It does not work on the browser on the WebOS (Palm Pre). Does the library support only WebOS Mojo apps or is it supposed to work on browser on webOS as well?

Comment by project member whoiss...@gmail.com, Jun 6, 2010

the lib only supports webOS apps, last time i checked it wasn't supported in the browser

Comment by david.e....@gmail.com, Jun 22, 2010

Another reason webOS is dying, not everyone is going to load an app when a website can provide a fast way to locate a business. Another webOS fail.

Comment by project member whoiss...@gmail.com, Jun 23, 2010

I could not agree more. Apps are in fact very limited. Have a look if you are interested: http://mobileanalyticssimplified.com/post/439404358/the-future-is-the-mobile-web-not-the-mobile-app

Comment by ater.imp...@gmail.com, Jul 21, 2010

So will this work with W3 standard supporting browsers, such as Safari 5.0, or Android 2.0, or Firefox 3.5? This page is not clear on that, so far as I can tell it will work with Safari or Firefox only if the user has installed the google gears plugin.

Comment by dave.e...@gmail.com, Jul 29, 2010

Just thought I would let you know that 'innerHTML' isn't supported until Blackberry OS 4.6.

The sample with the map wasn't drawing for me - had to debug why not. Simple geolocation works, but anything 'innerHTML' does not.

Comment by project member whoiss...@gmail.com, Jul 29, 2010

thank you! that was version wasn't intended for bb anyways, more for webkit based browsers that can render google maps.

Comment by krycek...@gmail.com, Nov 20, 2010

See http://code.google.com/p/mobile-gps-web-gate/ how to read information from build-in GPS in ALMOST EVERY mobile phone

Comment by project member whoiss...@gmail.com, Nov 20, 2010

Do you have a video that shows that in action?

Comment by brett.sh...@gmail.com, Jan 5, 2011

Hi,

I'm having a strange issue with Motorola Milestone, can anyone offer some advice please?

If we place the following JavaScript? in a page, the Motorola browser seems to hang, i.e. we can wait 15 minutes the Milestone doesn't call the success or fail callbacks:

geo_position_js.getCurrentPosition(success_callback,error_callback,{enableHighAccuracy:true});

Whereas, if we replace the code above with the following JavaScript? we get an error callback within 2 seconds:

geo_position_js.getCurrentPosition(success_callback,error_callback,{enableHighAccuracy:false, maximumAge:600000, timeout:60000});

We have checked all the related settings in the Milestone and we are sharing the location. Furthermore, we do not have this issue on any other Android handset we have tested. In fact Geo Location has been very reliable for us in the past.

Thank you.

Regards Brett S

Comment by project member whoiss...@gmail.com, Jan 11, 2011

Hey Brett, unfortunately I don't have a milestone device to verify that. I never heard of specific issues with this device. The behavior with the timeout seems strange as well. Do other sites that use javascript based location detection such as google.com places work in the browser? Best, Stan

Comment by locks...@gmail.com, Mar 15, 2011

How about supporting Franson's GPSGate? It gives javascript in a browser access to the Windows machine's hardware GPS device: http://gpsgate.com/products/gpsgate_client

Comment by sacah.ne...@gmail.com, Mar 24, 2011

Awesome, thanks for your hard work.

FYI works on following browsers in Android 2.2 - Default Browser, Skyfire 3.2.2, Dolphin Browser HD 4.5.0, xScope 6.43.1, Firefox 4.0 and Opera 11

Didn't work in Opera Mini.

Reposted due to post formatting.

Comment by di...@thejunction.com.au, Jun 16, 2011

Not working on Windows Mobile 7...

Comment by ignaczro...@gmail.com, Jun 27, 2011

I think that, Opera mini doesn't support any geolocation method.. Or does it?

Comment by gengkev, Aug 7, 2011

Mozilla Geode uses Loki's services through the HTML5 Geolocation API. But, Loki has a separate plugin and JavaScript? API if users choose to install the plugin. But, you need an API key... http://www.loki.com/how

Comment by project member whoiss...@gmail.com, Nov 23, 2011

Makes sense, the functionalities of gears have been integrated into the browser.

Comment by westleychan, Mar 15, 2012

Just curious, but why is Internet explorer not one of the supported ones? This works in Firefox, Safari on iOS, Google Chrome.. All but IE!

Comment by swift.a...@gmail.com, Mar 25, 2012

It's not wotking on IOS 4


Sign in to add a comment
Powered by Google Project Hosting