Log in

I forgot my password

Who is online?
In total there are 83 users online :: 10 Registered, 0 Hidden and 73 Guests :: 2 Bots

aleksandrnod, 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 users
The newest registered user is tristanseth1234

Our users have posted a total of 26252 messages in 4183 subjects
ATZ Affiliates
ALNET Forums

KTZ Forums

STZ Forums

TTZ Forums

VTZ Forums

WMTZ Forums

COBYUSA

VISUAL LAND

SKYTEX

Top posters
tipstir (6069)
 
arcmatter (1093)
 
bayman (836)
 
chicle (774)
 
ExMORTIUS (753)
 
b33zudroid (619)
 
Rabid1 (513)
 
Daisimae (361)
 
jnewt74 (337)
 
wilberfish (299)
 

Search
 
 

Display results as :
 


Rechercher Advanced Search

Poll

Are you running Anti-Virus App?

 
 

View results

Social bookmarking

  Social bookmarking Digg   Social bookmarking Delicious   Social bookmarking Reddit   Social bookmarking Stumbleupon   Social bookmarking Slashdot   Social bookmarking Furl   Social bookmarking Yahoo   Social bookmarking Google   Social bookmarking Blinklist   Social bookmarking Blogmarks   Social bookmarking Technorati 

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?

View previous topic View next topic Go down

Why can't I enable mock locations?

Post by PhyrePhox on Sat Feb 04, 2012 11:30 am

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
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

Back to top Go down

Re: Why can't I enable mock locations?

Post by Rabid1 on Sat Feb 04, 2012 2:14 pm

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

Back to top Go down

Re: Why can't I enable mock locations?

Post by PhyrePhox on Sat Feb 04, 2012 5:56 pm

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.

PhyrePhox


Posts: 24
Join date: 2012-01-12

Back to top Go down

Re: Why can't I enable mock locations?

Post by Rabid1 on Sat Feb 04, 2012 6:35 pm

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

Back to top Go down

Re: Why can't I enable mock locations?

Post by PhyrePhox on Sat Feb 04, 2012 7:04 pm

I'm using tipstir's build.prop, so there's a similar entry as the default.prop
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

Back to top Go down

Re: Why can't I enable mock locations?

Post by Gizmo1926 on Tue Feb 07, 2012 5:22 am

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'.


Gizmo1926


Posts: 4
Join date: 2011-12-26

Back to top Go down

Re: Why can't I enable mock locations?

Post by PhyrePhox on Tue Feb 07, 2012 9:35 am

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.

PhyrePhox


Posts: 24
Join date: 2012-01-12

Back to top Go down

Re: Why can't I enable mock locations?

Post by Gizmo1926 on Wed Feb 08, 2012 3:06 am

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. Smile

Gizmo1926


Posts: 4
Join date: 2011-12-26

Back to top Go down

Re: Why can't I enable mock locations?

Post by PhyrePhox on Wed Feb 08, 2012 8:55 am

That's embarrassing. It is working correctly, and I thank you for your help and for your patience Wink

PhyrePhox


Posts: 24
Join date: 2012-01-12

Back to top Go down

Re: Why can't I enable mock locations?

Post by jnewt74 on Wed Feb 08, 2012 9:42 am

PhyrePhox,

Note: asking questions should never be embarrassing Embarassed otherwise i would have walked threw life with a red face. I am pleased everything is working for you.

jnewt74


Posts: 337
Join date: 2010-12-30

Back to top Go down

Re: Why can't I enable mock locations?

Post by Rabid1 on Wed Feb 08, 2012 11:35 am

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.

Rabid1


Posts: 513
Join date: 2011-06-26

Back to top Go down

Re: Why can't I enable mock locations?

Post by jnewt74 on Wed Feb 08, 2012 11:39 am

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. Smile

jnewt74


Posts: 337
Join date: 2010-12-30

Back to top Go down

Re: Why can't I enable mock locations?

Post by Gizmo1926 on Wed Feb 08, 2012 6:31 pm

Glad you got it working now Smile
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

Back to top Go down

Re: Why can't I enable mock locations?

Post by PhyrePhox on Sat Feb 11, 2012 10:22 am

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. Twisted Evil

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

Back to top Go down

Re: Why can't I enable mock locations?

Post by kortsen on Wed Feb 22, 2012 6:45 pm

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

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum
All Winner Single Core 1.2GHz vs Rockchip RX30 Dual Core 1.4GHz vs Tegra2 Dual Core 1GHz vs Tegra 3 Quad Core 1.4GHz

Fri Apr 20, 2012 5:22 am by tipstir

So everyone knows how well the All Winner Single core 1.2GHz that runs out of the box on COBY 9742-8, 7042-4, SKYTEX SKYPAD ALPHA2, VISUAL LAND CONNECT and others in this class all run the same All Winner but only at 1008MHz. You have to OC (OverClock the chip) to 1.2GHz to get the best out of it. But now Can the Rockchip Rx Dual Core 1.4GHz (700MHz x2) beat the Single Core that runs out of the …

[ Full reading ]

Comments: 0

Rockchip RK30 Dual core CPU for cheap tablet

Fri Apr 20, 2012 4:51 am by tipstir

Rockchip is a Chinese CPU maker who does not only realize in their structures which sells the chips. The peculiarity of this company is to offer complete platforms, so-called TurnKey or ready to be easily assembled into a finished product without any additional steps that would increase costs. Rockchip solutions that include not only the SoC but also the mainboard and everything you need to run …

[ Full reading ]

Comments: 0

New! Cortex-A9 processor 1.4GHz dual-core CPU + 3D 1080MAIL-400MHz GPU ​​display Rockchip RK30 chip debut

Fri Apr 20, 2012 4:45 am by tipstir



The Rockchip before RK29XX series chipset has been used in a lot of Chinese-made cheap Tablet PC on the MWC 2012 build upon this Rockchip launched a new RK30 series chipsets. And mononuclear biggest difference of the previous generation, nature is the inclusion of dual-core Cortex-A9 processor, the Mali-400 GPU graphics processing chip, …

[ Full reading ]

Comments: 0