Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gears or HTML5 Location API on Android 1.5

I am trying to use gwt-mobile-webkit, particularly its location api. It works well with iPhone (both device and simulator) and Firefox and on G1 with 1.6 Android, however, it does not work on G2 with Android 1.5 on it. In result I am getting onFailure callback with Permission Denied error.

So it seems, that there is some geolocation API (gears or HTML5) in the browser available, but it just does not want to ask user for granting permissions.

Do you know if there is any workaround or just enable it somewhere in settings?

like image 852
Dmitry Avatar asked Apr 21 '10 14:04

Dmitry


1 Answers

I had what sounds like a similar problem on G1. The fix for me was to do Factory Reset - a bit extreme, but it was the only solution I had at the time.

See http://groups.google.co.uk/group/android-discuss/browse_thread/thread/f9233991a1affbd5/3b318c6bed932790

like image 119
Kevin Avatar answered Oct 01 '22 10:10

Kevin