Questions tagged [android-gps]

Android's GPS device and related API features.

Android provides a Location and Sensors API for programmatical access to its GPS device.

733 questions
-3
votes
1 answer

how to fix Unable to start activity ComponentInfo{.....}: java.lang.NullPointerException

i.m new in android. its app to direction of qibla. actually i have 3 classes: main, GPS servive, and RoseGPS (to rotate needle).from that main activity class i want to call a functions of other class. error appear when i add RoseGPS. help me to fix…
-3
votes
1 answer

city name from gps

I`m Trying to get city name in an application. Just like if the GPS shows New York so the place should set inside an text view as new York and if the GPS shows location as India so the text view should show as India
-3
votes
1 answer

Is Google location services a service - that runs in background

I want my app to get updates of the current location, and act upon it. I am planning on creating a service, that will host the Google API client code and location update code. The name though throws me off: Is google location SERVICES a service that…
-4
votes
1 answer

Getting an accurate path history via background service in android

I need for my app an service that tracks the phones location all the time. Its used to create a path that the user traveled, will be displayed in the app and should be distinguishable between walking and other means of movement. The location should…
headput
  • 1
  • 1
-4
votes
1 answer

How to compare the user's GPS position with an available GPS location?

I have longtitude and lattitude of a GPS location of user in an application android. And I have to store other GPS location in postgresql database(now i haven't had idea for storing). Now I want to check user is that location or not by sending…
Mart
  • 13
  • 1
  • 7
-4
votes
2 answers

Is there a way to disable touch?

I have an app which uses geofire to identify if the user enters the designated boundaries and when the it is true, the user's phone will be temporarily disabled in which touch functionality will be disabled.Otherwise, it will be enabled if the user…
RoViel
  • 1
  • 1
-4
votes
1 answer

Better approach for getting the location coordinates

I have successfully managed to get the current gps coordinates by calling requestLocationUpdates like this: Criteria criteria = new Criteria(); provider = locationManager.getBestProvider(criteria, false); if( provider != null){ …
-4
votes
1 answer

Get users timezone converted to my timezone on Android

I am making a real-time tracking app. I have added a few users who are in 2 different time zones. I am trying to fetch the last time and date they were online, so far I have been able to fetch date and time, however, it is showing me time online in…
-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
-4
votes
1 answer

How to create background service which constantly check GPS status?

For My Application GPS is required constantly. If GPS is turned off, then I want to show a prompt message to the user to turn on GPS. How should I use background service to perform this task?
-6
votes
1 answer

How reliable is smartphone GPS? Can it be hacked?

If I were to write a mobile app that recorded the GPS location of the device, how certain can I be that the GPS location hasn't been tampered? To avoid confusion, I'm not concerned with the resolution/accuracy of the GPS, I'm more concerned with…
rusty1042
  • 267
  • 2
  • 3
  • 12
1 2 3
48
49