I am using following code to show popup to turn on location
LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()
.addLocationRequest(mLocationRequest);
SettingsClient client =…
I am making some tests with the requestLocationUpdates() function from the FusedLocationApi. I am using the PRIORITY_BALANCED_POWER_ACCURACY. A city block precision is fine for me.
When I request the ACCESS_FINE_LOCATION permission, I get around a…
I have a bunch of people reporting an error that I cannot reproduce. When trying to open a MapView it's reporting that the getBestProvider is returning null and I know that means that that no provider is found that fulfills my criteria which is…
I have referred many questions on this topic, but it seems some of my requirements are missing:
I want to get the GPS location at ~0.0001 accuracy
Don't want to use internet; Though GSM/CDMA network is ok
Should be obtained programmatically when…
Why i ask this:(also the reason for trying it in an app)
It happens when we use Google Maps in Lollipop. Even if the Location is disabled, it is turned on, in high accuracy mode after user's input from the Maps app, without having to visit…
Hi i need to cal an event at onchangelocation(), by comparing current latitude and longitude with some saved latitude and longitude but i m getting an error. eclipse is not recognizing key word distance, and for correction error it is giving hint…
I am using the routine requestSingleUpdate() reoutine of the android LocationManager library with a LocationListener. The functionality I am trying to implement is that the user can press a button and the app will get their current location and…
I am facing a problem with Google Place Picker in Android Redmi Phones version 5.1.1. I am using the following code for launching the Google Place Picker.
try {
PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();
…
According to the Android documentation:
The Google Location Services API, part of Google Play Services,
provides a more powerful, high-level framework that automatically
handles location providers, user movement, and location accuracy than
…
I am making certain android app that requires user to choose a place. I am planning to user google places API.Link: https://developers.google.com/places/android/
This API gives gives nice way to do so through through Place Picker.…
I am trying to make sense of an inexplicable situation — starting February 15, a remarkably high percentage of the location readings we captured in our app are reporting exactly 10.0m accuracy, which seems strongly correlated with those arriving…
I have a project in which I need to get the location as India. But in my emulator I am not getting the location.
I need to get the location as India
when I take the google maps from my emulator, it is showing the current location in middle of the…
I know BroadcastReceiver watches for text, phone events, etc... but can you run LocationServices as a service and event based on Location?
For example, you are near a certain GPS point and the phone notifies you.
im wonder how to catch event or what ever when my LocationReqest expired, heres code then i call it
mLocationRequest = LocationRequest.create();
mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
…