1. Skunkape60's Avatar
    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
    01-14-2012 11:35 AM
  2. jondevere's Avatar
    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.
    01-14-2012 12:45 PM
  3. Skunkape60's Avatar
    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
    01-14-2012 01:14 PM
  4. rosser's Avatar
    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
    01-19-2012 06:34 AM
  5. Look_Sir...Droids.'s Avatar
    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.
    04-03-2012 12:35 AM
  6. w5cyc's Avatar
    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.
    04-03-2012 01:04 AM
  7. acidiumsix's Avatar
    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?
    05-25-2012 02:05 AM
  8. acidiumsix's Avatar
    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!
    05-25-2012 02:14 AM
  9. joyceface2's Avatar
    Still waiting for a real answer on this.
    05-31-2012 04:17 PM
  10. Trimesh's Avatar
    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.
    06-03-2012 10:54 PM
  11. gfvalvo's Avatar
    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.
    08-09-2012 07:05 AM
  12. nightwing150's Avatar
    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
    09-12-2012 09:35 PM
  13. nightwing150's Avatar
    I stumbled upon this:
    android-mock-gps - GPS location emulator for changing/setting/simulating the GPS location - Google Project Hosting

    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);
    09-12-2012 09:52 PM
  14. cane0716's Avatar
    What does permit mock location mean?
    03-31-2013 01:02 AM
  15. AgniWorld's Avatar
    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. .
    05-23-2013 01:16 PM
  16. Earl Brown1's Avatar
    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?
    03-21-2015 12:23 PM
  17. mschhimwalk's Avatar
    IT IS THERE in developer options. And it is a tool which allow us, specially developers to fake our location just for debug our location aware apps by sitting on the same chair while checking weather our apps functionality (truly based on user location) working fine or not? Just suppose you make an application like Uber or Retail geofencing funtionality type app , is it possible to for developers to test and verify the functionality by roaming arround the cities, or even country if it is a global application. Surely not. That's why Android framework provide you mock your locations, specially a developers option. That's why it is a developer option not a simple android user option. I hope you understand now , Why is it there?
    11-02-2015 12:47 AM
  18. Sruli Schwartz's Avatar
    Where can i find this 'Mock locations'? On my galaxy s5 mini?
    12-29-2015 12:56 PM
  19. RmoYt2's Avatar
    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
    I have an s5 and when im in developer options when i turn on mock location it just turns off by itself
    07-23-2016 01:35 PM
  20. Joel D-k's Avatar
    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.
    "Mock locations" is a developer tool for testing gps capabilities witour having to move around.
    07-25-2016 04:29 PM
LINK TO POST COPIED TO CLIPBOARD