Questions tagged [google-location-services]

The google (android) specific api of location-services, which is used to determine your approximate location. Your location could be determined using data from cellular, Wi-Fi or Global Positioning System (GPS) networks.

This tag can be used in posts relating to either Google Play services location APIs or the Android framework location APIs.

234 questions
0
votes
1 answer

Location Java Script ceases to work when deployed

When I debug my website locally in the login screen I see the map where I am and there are two textfields filled with my longitude and latitude, but when I deploy my website this ceases to work. The weird thing is that when I deployed it last year…
Yoda
  • 17,363
  • 67
  • 204
  • 344
0
votes
0 answers

Android LocationServices strange behavior, long range wifi

I'm getting current location in my app by LocationServices API FusedLocationApi. Which gets location from gps, wifi and cell towers. When drawing route by geopoints I find very strange behavior in one place. Staying in this place I get points and…
Leonid
  • 4,953
  • 2
  • 10
  • 13
0
votes
0 answers

Does requestLocationUpdates() have to be called before getLastLocation() when using FusedLocationProviderApi?

Alternatively, does getLastLocation() get the last location update generated by requestLocationUpdates() or can my app access location data requested by other applications: say if Yelp makes the most recent location request will my GoogleApiClient…
0
votes
1 answer

Android need to import aar play services 8.4.0 in to eclipse

I have used following code to get turn on gps like OLA app. this below code run successfully in Android Studio with play services 8.4.0 . But, I want to run this in Eclipse with ADT 23. i have searched in latest google playservices in sdk. its not…
0
votes
2 answers

Inaccurate Location Android

Yesterday I happen to test my GPS tracking app on moving device I was being tracked well but suddenly I started getting wrong location Exactly 282 km from actual location Any idea why this may happen?
Sourabh Saldi
  • 3,567
  • 6
  • 34
  • 57
-1
votes
1 answer

Reverse Geocode Locations in Google My Maps (Custom Map Locations to Street Addesses)

I have a custom map in Google's "My Maps" with a list of locations. What is the easiest way to reverse geocode these to the street addresses? i.e. I would like to export the data as a list of locations + the associated addresses. The CSV export…
-1
votes
1 answer

Google Api key location and address solution

I am developing a mobile app and website that allow users to advertise their items only in the UK. However, I don't want the return address to show the full address of the seller on the advert but instead should show the town and the city For…
-1
votes
1 answer

Google don't allow watch location for longer period anymore?

I have an app in which I am tracking user location like Uber. It works fine in the foreground. But in the background it works only for few minutes. After that, it gets stop. But it starts send location information when I open the app again. It's…
Bilal Arshad
  • 531
  • 3
  • 11
  • 33
-1
votes
1 answer

Detect when user enter circle

I am working on a app based on google maps. I added a circle to the map ( https://ibb.co/PhZy0t6 ) and I have been tring to detect if the user entered the circle. The user is a marker I added with the user current location. I tried to do like the…
Mr.Goomer
  • 73
  • 7
-1
votes
1 answer

Address picker Android

I want to do same like attached photo. Where user can search or choose current location.
Rohan Patel
  • 1,758
  • 2
  • 21
  • 38
-1
votes
1 answer

My setLocationSource() method throws NPE

I want to implement setLocationSource() to handle the battery High of use, i tried from the doc and search for samples here, but i get NullPointerException on mMap.setLocationSource(this); what am i missing.. I have long code..this is just related…
-1
votes
1 answer

app crashing when using location permission

I am very new to android development and java. I am trying to learn some android code from Build your first app. Now, the problem is, as soon as I add FusedLocation(the commanted section in the send code), it crashes. The current state of the code…
BaRud
  • 3,055
  • 7
  • 41
  • 89
-1
votes
2 answers

Android FusedLocationApi Location Service Not Working Properly using Runtime Permission API 23

Can anybody help me to solve problem: onConnected() method why my LocationServices.FusedLocationApi.requestLocationUpdates( mGoogleApiClient, mLocationRequest, this); code not executing; and retrun from checkSelfPermission() what…
-2
votes
1 answer

Does Google expose API for Find My Device service?

Does Google expose API for Find My Device service? I would like to build a NodeJS backend to extract the location of my friends` phone using Google Find My Device service (using their gmail email). Of course, they need to approve sharing their…
-2
votes
1 answer

Ascii characters on findplacefromtext API

I have to get many google places ids and data given (City, Country, Province), the data that I have are mainly are names, for example São Paulo, Brazil the thing is that since the google locations API it receives the parameters on URI it fails…
1 2 3
15
16