Results 1 to 15 of 15
  1. Thread Author  Thread Author    #1  
    Skunkape60's Avatar
    Retired Ambassador

    Posts
    4,518 Posts

    Default Mock Locations...

    In the settings/developers options settings i see allow mock locations. What exactly does enabling this do? In some roms I load it is set by default in others it's not.
    Just curious about what it does and how do you use it?

    Sent from my Nexus S 4G using Tapatalk
    http://forums.androidcentral.com/signaturepics/sigpic70132_2.gif
  2. #2  

    Default Re: Mock Locations...

    Quote Originally Posted by Skunkape60 View Post
    In the settings/developers options settings i see allow mock locations. What exactly does enabling this do? In some roms I load it is set by default in others it's not.
    Just curious about what it does and how do you use it?

    Sent from my Nexus S 4G using Tapatalk
    Mock locations I believe is just a development tool. I assume its for a PC emulator where u don't have a GPS device really built in. I am pretty sure it doesn't just allow u to choose where you want to be listed as located. ie, just cause i turn this on doesn't mean i can fake out the system into thinking that I am in Afghanistan when I am in California.
  3. Thread Author  Thread Author    #3  
    Skunkape60's Avatar
    Retired Ambassador

    Posts
    4,518 Posts

    Default

    Quote Originally Posted by jondevere View Post
    Mock locations I believe is just a development tool. I assume its for a PC emulator where u don't have a GPS device really built in. I am pretty sure it doesn't just allow u to choose where you want to be listed as located. ie, just cause i turn this on doesn't mean i can fake out the system into thinking that I am in Afghanistan when I am in California.
    I didn't think that it was for faking your location. I can see there is no setup or ways to configure. All you can do is either enable or disable. Just wondering why on some roms it is defaulted as enabled. And just wondering if there was a reason behind it.

    Sent from my Nexus S 4G using Tapatalk
    http://forums.androidcentral.com/signaturepics/sigpic70132_2.gif
  4. #4  
    rosser's Avatar
    Former Advisor

    Posts
    350 Posts
    Global Posts
    415 Global Posts

    Default

    You can fake yohr location with mock locations. I can't remember what its called but there is an app on the Market that lets u do that.

    Sent from my LGL55C using Tapatalk


    Android Central Advisor August 2011 - Late September 2011
  5. #5  

    Default Re: Mock Locations...

    I too want to know what this option does. On my droid bionic, there's a setting that can be checked or unchecked that says "Mock Locations" but doesn't explain anything more about it.
  6. #6  
    w5cyc's Avatar

    Posts
    144 Posts
    Global Posts
    166 Global Posts

    Default Re: Mock Locations...

    My understanding is that with an app, you can fake your location. Kinda like the app that lets you fake your country so you can access other google play markets. Why would one want to fake a location? Well, if one were a St. Louis Cardinals baseball fan, if your phone believed you were in Texas instead of Oklahoma, you could get those blacked out feeds on MLB.com. Just an example.
  7. #7  

    Default Re: Mock Locations...

    Yes but...why would this be a built in option on your phone? Surely it wasn't an option installed on ones phone for the sole purpose of downloading some cheap app that merely fakes our location. So there must be more to it. Those apps are not usefull enuff to have some pre-existing feature built into our phones to enable their use....I'm guessing everyone who's answered so far was...guessing! SO THE QUESTION STANDS...WHY IS IT THERE?
  8. #8  

    Default Re: Mock Locations...

    Funny thing is...the more I search for the answer the more cheap guessing I encounter...there's not one answer that I've found so far where the person responding to the question doesn't indicate that his answer is mere speculation..nobody willing to say with confidence.."it is ~this~ and its purpose is ~this~ and ~this~ is why or how you acomplish ~this~ with it"! Bummer!
  9. #9  

    Default Re: Mock Locations...

    Still waiting for a real answer on this.
  10. #10  

    Default Re: Mock Locations...

    In the Android emulator supplied with the SDK, there is a built-in location simulator - but this is not available on real devices and instead the system provides a set of API hooks (LocationManager.addTestProvider(), LocationManager.setTestProviderLocation() ) to allow you send simulated location data to the location system.

    The "Allow Mock Locations" checkbox enables the use of these calls - on the early releases of Android (< 2.0 ?) this was all you needed to do, but in current versions you also have to request the "android.permission.ACCESS_MOCK_LOCATION" permission in your app manifest.
  11. #11  

    Default Re: Mock Locations...

    I use Mock Locations with the Bluetooth GPS app. It allows me to use an external, WAAS-enabled, Bluetooth GPS receiver to provide other apps with my location. I'm a General Aviation pilot and this runs my navigation apps, much more accurate and reliable than the tablet's built-in GPS.
  12. #12  

    Default Re: Mock Locations...

    Quote Originally Posted by rosser View Post
    You can fake yohr location with mock locations. I can't remember what its called but there is an app on the Market that lets u do that.

    Sent from my LGL55C using Tapatalk
  13. #13  

    Default Re: Mock Locations...

    I stumbled upon this:


    It DOES allow you to change your gps location! Apk's, screenshots, & code here...:

    android mock gps is a GPS location emulator for changing/setting/simulating the GPS location of the Android emulator/device through a simple map-based interface. You can add the location to Favorites.

    This app sets up mock GPS location so every other app in your phone belive you are there!

    This app allow you call its interface in other app by sending a broadcast. Look the detail below.

    Note

    Disable "Use wireless networks" in Setting/Location of your phone since some apps use it too Always run MockGPS before running other apps to be mocked otherwise they will use the default GPS sensor instead of MockGPS's. Check your android settings: Settings->Applications->Development->Allow mock locations, make sure this item is checked.

    Open interface

    Copy the following code in order to start/end mock gps in your app.

    Intent intent = new Intent("com.tim.apps.mockgps.startmock"); intent.putExtra("name", name); intent.putExtra("lat", lat); intent.putExtra("lng", lng); intent.putExtra("bearing", 10.0f); intent.putExtra("accuracy", 5.0f); intent.putExtra("speed", 30.0f); ctx.sendBroadcast(intent);
  14. #14  

    Default Re: Mock Locations...

    What does permit mock location mean?
  15. #15  

    Default Re: Mock Locations...

    Download the following app frm google play.. "Catch me if u can".. it actually allows u to fake ur location..
    N in order to use this app u need to turn on 'mock location' from developers option. .

Posting Permissions

B