Log in
Who is online?
In total there are 83 users online :: 10 Registered, 0 Hidden and 73 Guests :: 2 Botsaleksandrnod, bomaderry, cntrby, Geekman, lihediruc, netman42, noahwinter357, para16, Rabid1, rhondagraham27
Most users ever online was 481 on Sun Dec 25, 2011 9:42 pm
Statistics
We have 35642 registered usersThe newest registered user is tristanseth1234
Our users have posted a total of 26252 messages in 4183 subjects
Top posters
| tipstir (6069) | ||||
| arcmatter (1093) | ||||
| bayman (836) | ||||
| chicle (774) | ||||
| ExMORTIUS (753) | ||||
| b33zudroid (619) | ||||
| Rabid1 (513) | ||||
| Daisimae (361) | ||||
| jnewt74 (337) | ||||
| wilberfish (299) |
Top posting users this week
| tipstir | ||||
| azkaalarifi | ||||
| Rabid1 | ||||
| doktorspin | ||||
| bayman | ||||
| rtesky2012 | ||||
| mutania | ||||
| juliani | ||||
| B Ogbrush | ||||
| TheKrell |
Top posting users this month
| tipstir | ||||
| Rabid1 | ||||
| mutania | ||||
| F1USGP | ||||
| TonyFFH | ||||
| gaton | ||||
| azkaalarifi | ||||
| doktorspin | ||||
| gti16vman | ||||
| bayman |
Search
Social bookmarking
Bookmark and share the address of Android Tablet Zone on your social bookmarking website
Bookmark and share the address of ANDROID TABLET ZONE - ATZ on your social bookmarking website
Why can't I enable mock locations?
ANDROID TABLET ZONE - ATZ :: ATZ FORUMS - ZONE OUT ZONE :: ATZ FORUMS - PANDIGITAL ZONE :: Pandigital Super Nova | Nova
Page 1 of 1 • Share •
Why can't I enable mock locations?
I have rooted my SuperNova with GingerBreak, installed ATZ Beta 2 MOD and UOT Kitchen, and Market 3.4.4. I have modified default.prop to say
However, when I look in Settings->Applications->Development, the only choices are "USB debugging" and "Stay awake". I need to be able to enable mock locations so I can use an external GPS with Maps and Bluetooth GPS Provider. Alternatively, I could use the GPS puck as a USB device but I have learned that Android 2.3.4 doesn't work (or doesn't work correctly) with external GPS devices.
Thanks!
- Code:
ro.allow.mock.location=1
However, when I look in Settings->Applications->Development, the only choices are "USB debugging" and "Stay awake". I need to be able to enable mock locations so I can use an external GPS with Maps and Bluetooth GPS Provider. Alternatively, I could use the GPS puck as a USB device but I have learned that Android 2.3.4 doesn't work (or doesn't work correctly) with external GPS devices.
Thanks!

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
The setting should do it. It wouldn't add it to the settings menu. Did it have no effect?

Rabid1
- Posts: 513
Join date: 2011-06-26
Re: Why can't I enable mock locations?
OK, I've already paired the USB/BT GPS to the SuperNova. I launch Bluetooth GPS Provider, and tap on the GPS. it says "Connected!" and then "Cannot create GPS provider."
I also tried Bluetooth GPS for Android. It allows me to select the GPS, then says "Cannot start: Mock locations disabled" when I try to start the GPS.
I also tried Bluetooth GPS for Android. It allows me to select the GPS, then says "Cannot start: Mock locations disabled" when I try to start the GPS.

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
Did you check for an entry in build.prop? I have read about an app that does it for you maybe search market for soething like gps fake or gps mock

Rabid1
- Posts: 513
Join date: 2011-06-26
Re: Why can't I enable mock locations?
I'm using tipstir's build.prop, so there's a similar entry as the default.prop
I found an app Mock GPS. It asks me to turn on "Allow mock locations" LOL.
- Code:
ro.allow.mock.location=1
I found an app Mock GPS. It asks me to turn on "Allow mock locations" LOL.

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
I can not find on this device the menu item for enabling mock location, I am guessing they set that on compile of the firmware. But what I did to get things working is modify the value in the settings database to enable mock_location.
The location of the database is
/data/data/com.android.providers.settings/databases/settings.db
I changed the setting 'mock_location=0' to 'mock_location=1'.
The location of the database is
/data/data/com.android.providers.settings/databases/settings.db
I changed the setting 'mock_location=0' to 'mock_location=1'.

Gizmo1926
- Posts: 4
Join date: 2011-12-26
Re: Why can't I enable mock locations?
Thank you very much, but changing this entry in the settings.db didn't enable the option after reboot for me. Is there something else I should be doing?
I first tried editing the db on my Mac by using adb to pull the file, then using Lita to edit the db file, then mv'ed the original and pushed the modified file back, then rebooting.
This didn't work, so I then installed aShell and aSQLiteManager on the SuperNova and directly edited the original settings.db in-place, but rebooting didn't show the change in Settings. The settings.db still has my change after reboot, but it's not being parsed at boot or I've done something else wrong.
I first tried editing the db on my Mac by using adb to pull the file, then using Lita to edit the db file, then mv'ed the original and pushed the modified file back, then rebooting.
This didn't work, so I then installed aShell and aSQLiteManager on the SuperNova and directly edited the original settings.db in-place, but rebooting didn't show the change in Settings. The settings.db still has my change after reboot, but it's not being parsed at boot or I've done something else wrong.

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
After editing the setting in the database I still do not show the menu item in settings either, but the setting is now enabled and should now work in your application. Open Bluetooth GPS and things should now work.

Gizmo1926
- Posts: 4
Join date: 2011-12-26
Re: Why can't I enable mock locations?
That's embarrassing. It is working correctly, and I thank you for your help and for your patience 

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
PhyrePhox,
Note: asking questions should never be embarrassing
otherwise i would have walked threw life with a red face. I am pleased everything is working for you.
Note: asking questions should never be embarrassing
jnewt74
- Posts: 337
Join date: 2010-12-30
Re: Why can't I enable mock locations?
Definitely. One thing too is with Android not seeing a feature does not mean it isn't available, it is just a learning curve to get to it.
An example is the Supernova. I had given up any hope on getting much out of it. But then playing around I found a file I had never noticed with some security settings and adb settings. Even though it did have the development and USB debugging, without editing that file it didn't matter. I am not a software guy and the learning curve gives me fits, but it is fun.
An example is the Supernova. I had given up any hope on getting much out of it. But then playing around I found a file I had never noticed with some security settings and adb settings. Even though it did have the development and USB debugging, without editing that file it didn't matter. I am not a software guy and the learning curve gives me fits, but it is fun.

Rabid1
- Posts: 513
Join date: 2011-06-26
Re: Why can't I enable mock locations?
I agree Rabid1,
The learning curve gives me fits.. just as I am about to figure something out. someone comes in and asks me a question. At my age, short term memory is not what is should be. often i have forgotten what i was just doing.
The learning curve gives me fits.. just as I am about to figure something out. someone comes in and asks me a question. At my age, short term memory is not what is should be. often i have forgotten what i was just doing.
jnewt74
- Posts: 337
Join date: 2010-12-30
Re: Why can't I enable mock locations?
Glad you got it working now 
No worries, that's what the forums are for... nobody can know it all and we all get stuck on something at one point or another.
What GPS module are you playing with? I don't have a Bluetooth GPS Puck so have been using my cell phone to tether the GPS to the tablet. Works across Bluetooth or wifi , but I found issues with the Bluetooth apps that did not run as a service as when my cell phone turns off the screen it would put the application thread to sleep and shut down the Bluetooth connection
No worries, that's what the forums are for... nobody can know it all and we all get stuck on something at one point or another.
What GPS module are you playing with? I don't have a Bluetooth GPS Puck so have been using my cell phone to tether the GPS to the tablet. Works across Bluetooth or wifi , but I found issues with the Bluetooth apps that did not run as a service as when my cell phone turns off the screen it would put the application thread to sleep and shut down the Bluetooth connection

Gizmo1926
- Posts: 4
Join date: 2011-12-26
Re: Why can't I enable mock locations?
I have a GT-750F GPS that I got fairly cheap two years ago. I used to ride with a BT-equipped iPAQ running a hacked version of iGO, but it was prone to crashing, and last spring when I got a Garmin nuvi 265 for my b-day, I sidelined the setup. The Garmin software is not as good as iGO, but it has traffic, and it's much less fiddly. Then, my wife got a cheap Android phone for work, and I fell in love with the Google Navigation interface. These cheap Android tablets started appearing, and my obsession to build a large screen Google Maps navigation device was born. I now have three tablets, none of them working the way I want. I got them all pretty cheap, but my wife will still kill me when she finds out.
Back on topic: I said it works. But that really means "sorta": the mock locations works, and the several Bluetooth->GPS apps I've tried see the device, but the weird thing is, they only get an initial position from the GPS, and then they drop the connection. The Supernova seems to do A-GPS when there's no GPS device present, so periodically the current position will update while I'm at a stoplight. Once, I saw the device connect again to the GPS and hold the connection open for a while, but then it dropped again. It may be a baud rate issue with the GPS; I'll dig up the instructions and see if I can reconfigure it. Somewhere in researching this problem, I saw someone say Android could only communicate at 4800bps max, and I think I set this to 19200bps when I was using it with the iPAQ.
But, the topic of this thread is solved, and I think Gizmo1926's solution should be pinned or added to a FAQ for the two or three other weirdos like me who are trying to do this.
Back on topic: I said it works. But that really means "sorta": the mock locations works, and the several Bluetooth->GPS apps I've tried see the device, but the weird thing is, they only get an initial position from the GPS, and then they drop the connection. The Supernova seems to do A-GPS when there's no GPS device present, so periodically the current position will update while I'm at a stoplight. Once, I saw the device connect again to the GPS and hold the connection open for a while, but then it dropped again. It may be a baud rate issue with the GPS; I'll dig up the instructions and see if I can reconfigure it. Somewhere in researching this problem, I saw someone say Android could only communicate at 4800bps max, and I think I set this to 19200bps when I was using it with the iPAQ.
But, the topic of this thread is solved, and I think Gizmo1926's solution should be pinned or added to a FAQ for the two or three other weirdos like me who are trying to do this.

PhyrePhox
- Posts: 24
Join date: 2012-01-12
Re: Why can't I enable mock locations?
I am trying to tether my Supernova to my Samsung Apollo's GPS using BlueGPS on the tablet and ShareGPS on the phone. I have gone through the steps above (edit default.prop, build.prop, and settings.db) and still get an error from BlueGPS that mock locations is not enabled. Any ideas?

kortsen
- Posts: 1
Join date: 2012-02-22
Similar topics» Why can't I enable mock locations?
» Single TV shows accross multiple drives / locations
» Firefox: auto-enable private mode
» New Interface Design Mock Up
» Flashback - 8/09 Shelly's mock job interview with Jordan **not really game related**
» Single TV shows accross multiple drives / locations
» Firefox: auto-enable private mode
» New Interface Design Mock Up
» Flashback - 8/09 Shelly's mock job interview with Jordan **not really game related**
ANDROID TABLET ZONE - ATZ :: ATZ FORUMS - ZONE OUT ZONE :: ATZ FORUMS - PANDIGITAL ZONE :: Pandigital Super Nova | Nova
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum



































» KTZMOD - Today's Released of IC4 MSX GS 160 MOD Patch for 7015/7015A
» help firmware table china
» Almost Completed is the ICS 4.0.4+ Bulldog Blue Master Elite A100 ROM Update for Skypad Alpha2
» It's really almost done with ICS 4.0.4 Bulldog Titanium T100 with ECON 20 for KTZ Kyros MID7042
» ATZMOD - BETA 2 MOD TEST PATCH 11.zz.11
» debugging usb for synet7lp
» firmware for arm926ej-s rev 5 v5l
» Almost Completed is the GB 2.3.4 Bulldog Black Master Elite C90 ECON 10 ROM Update for Visual Connect & Prestige
» WM8505 hardware, rom updating, touchscreen and google market
» Dead aPad only booting logo
» KTZ SUBSCRIBERS & CONTRIBUTORS - BULLDOG GOLD MASTER LITE T80 (256MB) OR T81(512MB) 5.7.12
» Updating SYNET7LP android
» KTZ SUBSCRIBERS & CONTRIBUTORS - BULLDOG GOLD MASTER LITE T80 (256MB) OR T81(512MB) 5.7.12
» KTZ SUBSCRIBERS & CONTRIBUTORS - BULLDOG GOLD MASTER ELITE T80 (256MB) NON HD | HD T81 (512MB) 5.7.12
» Update WMT 2.1.2_105 help????!!??? :(
» NEW! RELEASE BULLDOG BLUE MASTER ELITE A80 5.7.12
» Bulldog Blue Master Elite A90 ECON 10 5.16.12 for ALPHA2 running Gingerbread OS 2.3.4
» Android Market 3.4.4
» HONEYCOMB ROM MOD FOR EPAD & MAYLONG