The Following 10 Users Say Thank You to Cirne For This Useful Post: | ||
|
2010-05-31
, 20:39
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#2
|
|
2010-06-02
, 03:43
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#3
|
|
2010-06-02
, 23:57
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#4
|
|
2010-06-03
, 00:15
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#5
|
sqlite3 /home/user/.mozilla/microb/permissions.sqlite "DELETE FROM moz_hosts WHERE type='geo'"
The Following User Says Thank You to Cirne For This Useful Post: | ||
|
2010-06-04
, 00:02
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#6
|
|
2010-06-08
, 16:59
|
Posts: 185 |
Thanked: 103 times |
Joined on Aug 2008
|
#7
|
root apt-get remove maemo-geolocation apt-get remove microb-geolocation rm -rf /home/user/.mozilla/microb/extensions/?e8738a3a*
root apt-get install mp-fremantle-002-pr
sqlite3 /home/user/.mozilla/microb/permissions.sqlite "DELETE FROM moz_hosts WHERE type='geo'"
|
2010-06-08
, 18:35
|
Posts: 185 |
Thanked: 103 times |
Joined on Aug 2008
|
#8
|
|
2010-08-20
, 14:54
|
Posts: 6 |
Thanked: 1 time |
Joined on Aug 2010
|
#10
|
I was having trouble with geolocation working in the Maemo browser after I upgraded to PR1.2 (I decided to do a backup/reflash/restore, I don't know if this would affect people doing an OTA update). When I went to new sites that wanted location information, I would still get the ugly grey "Share your location?" dialog I was used to getting in PR1.1.1, but after I clicked Share, or if I went to sites I had already authorized, the GPS wouldn't power up and the sites would silently fail to get my position.
I think that it was an issue with the old maemo-geolocation being installed on my system before I upgraded; the ugly grey permissions box was something from the old version, not the one bundled with PR1.2. Here are the steps I took to fix it, in case anyone else has the same problem:
1) You'll need to have rootsh installed from the Application Manager.
2) Open an XTerm and type the following commands exactly as shown. If any command asks for confirmation, give it (type y and press enter):
Also, note what packages it says it's removing, when you run the "apt-get remove microb-geolocation" command. On my N900, it said it was removing "mp-fremantle-002-pr"; on yours it might be "mp-fremantle-generic-pr" or something else entirely. If you see something besides what I have here, then use that in the command you run in step 4.
3) At this point I rebooted just to clear the system out. You might be able to skip this step.
4) Open up another XTerm and type the following commands (again, give confirmation when requested):
It should be fixed now! You can check by doing the following:
- Open the browser and go to any page, then open the Options menu and click Add-ons. Under Extensions, it should show "Maemo GeoLocation" at version 1.1.5 (or later).
- Go to a page you haven't previously authorized to see your location. I used http://diveintohtml5.org/detect.html#geolocation and clicked the "Click to look up your location" link. Instead of the ugly grey permissions box, it should now pop up a pretty Maemo-styled dialog box asking for permission to share your location (it's okay to say no).
- Go to a page you HAVE previously authorized, and it should remember your permissions, and now it should work!
It took me a while to figure this one out, so I wanted to share if anyone else was having problems.
Last edited by Cirne; 2010-06-02 at 03:46.