Dan J
Dan J

Reputation: 25673

Does the BlackBerry Playbook Simulator support geolocation inside WebWorks application?

I am testing HTML5 geolocation code inside a WebWorks application for BlackBerry Playbook, using the 0.9.4 Simulator in VMWare Player. Here's the code:

navigator.geolocation.getCurrentPosition(geolocationSuccess, geolocationError, options);

Launching the application gives a popup saying:

Geolocation Request local:// wants to access your location.

When I click "OK" this always results in a callback to the error handler function geolocationError, never the success handler.

The webpage works fine in Firefox 3.6.15 on Win 7.

Is there any way to test a successful geolocation request inside a WebWorks application in the Playbook simulator?

Updates:

Upvotes: 0

Views: 451

Answers (1)

Peter Hansen
Peter Hansen

Reputation: 22107

The simulator as of 0.9.4 still has no support for geolocation, according to the AIR SDK Release Notes. It's likely the same limitations apply in this case.

Upvotes: 1

Related Questions