That might be solved using one of the many automation apps. I myself prefer tasker here, but YMMV (and Tasker doesn't come for free) – llama might be capable of the same.
What I do here is creating a profile like this:
Condition: App (select the apps you want to use GPS with)
Task: GPS On
optional exit task: GPS Off
That way GPS by default is off, but ...
Not exactly matching your description (using the "last known" position if not GPS available), but still a good alternative:
On two of my devices, I completely got rid of all proprietary Google services, replacing them by alternatives. In detail, I've described this in Android without Google 5: Free your Droid!¹ (update¹). In short, this is what I've done:
You could try this app: GPS Aids.
It tries to provide a quicker and more stable fix by providing a couple of GPS aids (GPS Aiding Data like LTO Long Term Orbits, gpsOneXTRA and AGPS), and it caches your last known GPS data.
It will run without root, but some options require root access.
As Izzy said in the answer, Tasker is a great choice but it's not free for anyone. I tried AutomateIt(Free) and it gets the job done.
Edit: This answer is successfully tested on Android 4.2.1, without giving root access to AutomateIt. However, on Android 4.4.2, COS12 (Android 5.0.2) and CM12.1 (Android 5.1.1, build: YOG7DAO1K6), the relevant options were ...
You can't fake GPS. What you can do is tell your Android to tell apps that you're in a different location than you really are.
This is useful for development. If I need to test that my app can tell what speed I'm traveling, I can do one of two things:
Run around outside.
Tell the Operating System to simulate my location.
The advantage of #2 is that you ...
My understanding of Bluetooth is that applications using Bluetooth have direct access to the device MAC address for the purpose of pairing. I will assume this for this answer.
If you can read MAC addresses of WiFi or Bluetooth transmitters, you can locate a device. This is how WiFi/Bluetooth location works; you listen for MAC addresses of transmitters and ...
geffchang's answer is correct. That said, it is meant for a rooted Android so users of non-rooted Android devices may not find it of much use.
Those users, if willing to sacrifice third-part apps' data associated with their Google account, can consider clearing data of Play services' app as a solution.
Set location mode to Device only for once, disable ...
Method 1 (Requires 2 Phones signed in with same google account):
Open Google Play Store and Download HotSpot Shield or Zenmate. Once
you have downloaded.
Clear cache and data of Google Play Store by going into Settings ->
Apps -> Google Play Store.
Now open VPN app (Zenmate) and Change your location to UK and connect
the VPN. Open Google Play ...
Here are the basic technologies for location on an Android device:
GPS (Global positioning system) - uses satellite signals to determine location without external request, high accuracy (~5 m), high power, high time to first fix.
WiFi - uses WiFi scans and requests location from Google (possibly over cellular network), medium accuracy (~50 m), low power, ...
Go to Settings > Sounds and Notifications > Advanced > Notifications.
Click on the three dots up in the right corner and tap Show System.
Scroll down to System UI.
Under Categories, tap on VZW, then tap on Importance, select Medium: No sound.
Why is the GPS location notification in the VZW category of notifications? I don't understand.
I debugged by ...
Using Fairphone 2 and Fairphone Open OS and following this guide to living without Google, I set up location services using location middleware provider µg UnifiedNlp (no GAPPS)
It is easy to do this using the F-Droid repository
Install µg UnifiedNlp (no GAPPS)
Install geolocation backends such as LocalGsmNlpBackend
Install geocoding backend NominatimeNlp
Summing up all the comments:
Will Google save the locations?
Definitely. As soon as you want to use the more battery-friendly “network based location” you have to agree that Google collects your location data “to improve its services”:
click image for larger variant
So “location history” and ”location report” are meaningless in this context. As it was ...
I had a similar issue moving from Germany to the UK and spent over an hour on the phone with Google support.
In addition to what others already wrote above, I had to do two things:
Cancel any Google subscriptions you have on your old profile (I had to cancel my Google Play Music Family Plan)
Make sure you not only add a new country profile on pay.google....
Vibration and GPS are considered as system services, not apps. Thus, it cannot be exempted on the usual setting when Battery Saver is enabled. However, since Android 8.0 Oreo, it is possible to tweak some settings for Battery Saver.
This is related to the BATTERY_SAVER_CONSTANTS global settings that can be modified through ADB.
* Battery Saver ...
To disable application notifications for versions prior to 5.1:
In the device section of the settings menu, choose "apps" from the list.
Choose "all" from the menu to show a list of all installed applications.
Locate the application, in your case Android Device Manager, it may be labelled "Device Manager".
Highlight the application, then ...
It might have something to do with this issue: Issue #79735: Smart lock feature (trusted face/device) not working when screen is turned off using software screen off command (DevicePolicyManager.lockNow)
In short: Smart lock breaks when any app uses "soft power off", i.e. your screen is turned off by an app or in any way except the hardware button or a ...
Then post your question where it's sure to be seen: googleplus help. That link is, after all, one of the few links the closed page offers with any actual developer interaction. I looked, and saw many questions were way off-topic, but the questioners were usually led to the right forum, or had their question answered. And you can always point back to the "...
The MLS wiki has a list of community-provided Android software that utilizes MLS. There, you find a link to Ichnaea NLP Backend.
And that is exactly the piece of software you are looking for. Because it is an implementation of Unified NLP, the de-facto standard of non-Google network location provider services employed in Custom ROMs. See its README for ...
As there's no on-board feature covering your needs, I'd recommend taking a look at Glympse. With this app you can decide when to start or stop sharing your location, you could even set a timeout. Only you would need to have the app installed, and those you've shared your location to can watch it on any web-enabled device:
Glympse is a fast, free, and simple ...
I had the same problem as I moved from US to India a week back. Here are the steps I used to resolve this issue.
Go to google payments and create a new profile for UK
Go to payments.google.com and click on your current profile and click on edit option (symbol of a pen) available next to your listed country.
Now you will get an option to add a new profile ...
Using an app such as Automate, one can write a very simple flow which waits for notifications from com.android.systemui with the text of Location found and then cancel the notification as soon as it exists.
This works okay. The flow doesn't use any CPU time until a notification shows up and then the flow is very quick (3 ms execution time). However, the ...
The vendor is correct, you need to enable location services to scan for WiFi or Bluetooth LE devices.
See bug #185370 for details. Google said they have fixed it in a 'future release' but according to comments on the bug, it's still not fixed in Android 7.
Edit: I previously said location services are only required when the App starting the scan is running ...
I too suffered this issue (several times on different roms). Nlpwakelocks appeared in an insanely high abundance (several thousand wakelocks in a single day).
My first fix consisted of uninstalling all updates of google play, google services framework and google play services, clearing caches and deleting the data of the before mentioned in Appmanager, then ...
This is now addressed in Google+ v4.1
4. Location sharing includes more controls
Starting today you can share your pinpoint or city-level location with others (if you want), and you can do so on a circle-by-circle basis. For example: you can share your pinpoint location with family, and your city-level location with co-workers. You can also use circles ...
According to Google Support:
My Places gives you easy access to your important locations and
personal Maps history. Whether you’ve starred or searched on your
phone or computer, in My Places you’ll find your:
Starred places (including Home and Work locations)
Recently viewed Maps items
It's a Network Positioning Service, it locates your position based on a database of Wi-Fi hotspots, mobile cell towers, and possibly in the future other sensor data. This database is collected through crowdsourcing by Firefox users that has enabled Mozilla Location Service or has installed the dedicated Mozilla Stumbler app.
It is basically Mozilla's take ...
As said, most automation apps can perform this task, Automate is another free alternative. Here's some user-made automations for toggling the GPS when viewing Google Maps:
A rooted device is required, but it may be possible to workaround using UI automation.
Yes. This is called "Mock Location" in Android and it is designed for developers to test location services in their apps for development purposes. You need to enable it in Developer Options, then use an app from the Play Store to set your location. A quick search for "mock location", "GPS faker", or "Fake location" will yield multiple choices in apps to ...