Closed Bug 720108 Opened 14 years ago Closed 9 years ago

Geolocation does not work properly in Android

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 9
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: iillan002, Unassigned)

Details

User Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111228084953 Steps to reproduce: Access a page which uses geolocation Actual results: It searched for a gps position for about a few seconds (5 seconds more or less), Expected results: It seems to ignore the parameters given to the navigator.geolocation.getCurrentPosition() call. More especifically, it seems to ignore enableHighAccuracy and timeout parameters. Geolocation behaves exactly the same when using this parameters with diferent values.
If the GPS has a cached position, Firefox Mobile uses it, so I recommend rebooting the phone first to see it happend.
Iñigo, what version of Firefox does about:firefox say you are using?
About:firefox says this: Mozilla/5.0(Android; Linux armv7l ; rv:9.0) Gecko/20111216 Firefox/9.0 Fennec/9.0 I'm using Firefox Mobile 9.0 right now, but I have seen this behaviour also in Firefox Mobile 10 beta (all of them using the XUL interface, not the native one). Also, I have been watching this bug for some releases, so I don't think is any regression.
OS: Linux → Android
Hardware: x86 → ARM
What device is this on? I think we may have switched to only using the hardware GPS device for geolocation, which is broken on some devices (like those running Android 2.1, I think).
I'm using Samsung Nexus S with Android 2.3.4 I think
Iñigo, is this reproducible for you on the - latest beta build: http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/12.0b4-candidates/ and on the - latest Native Nightly build: http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android/
I haven't been able to reproduce this bug on any of the various devices we have on the geo client team with recent releases of Firefox Android.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.