Questions tagged [android-location]

android-location refers to the location API provided by the Android framework.

References

1355 questions
-3
votes
1 answer

Tracking location of Android devices

I am developing a project which is based on android, with which I can track location of installed users in real time.i.e all those people who will install my app will allow their location to be tracked by their friends when needed,based on…
Sagar Khan
  • 49
  • 1
  • 1
  • 9
-3
votes
2 answers

How to check when LocationServices.FusedLocationApi.getLastLocation() is not null?

I'm first checking if Location is ON using Android LocationServices.SettingsApi, if it's not I present standard location setting dialog using Android documentation example. Later if user enables the Location I use…
Mohd Ali
  • 311
  • 2
  • 13
-3
votes
3 answers

best way to save battery with gps location

I have a background thread that needs to get the GPS location every 1 hour. What would be the best way to do this? locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000*60*60,0, this); have the thread sleep for a hour and…
ilan
  • 4,402
  • 6
  • 40
  • 76
-3
votes
1 answer

How to find the mobile current location without using gprs?

I have created an android application, in which i have to find the current location of the mobile. For example using my application i have to find my friends current location.If i enter the mobile number the current location of my friend has to be…
june
  • 999
  • 3
  • 14
  • 20
-4
votes
1 answer

How to retrieve GPS location from one android device and provide it to another android device in realtime

I want to retrieve GPS location of one android device and fetch it to another android device in realtime. I have gone through many resources and came to know that it can be implemented using GCM, FCM, sockets or by polling. However GCM or FCM cannot…
sam
  • 1,800
  • 1
  • 25
  • 47
1 2 3
90
91