Questions tagged [gps]

Abbreviation for Global Positioning System; a navigational system using satellite signals to fix the location of a radio receiver on or above the earth's surface. Also "GPS" refers to the radio receiver used to receive GPS signals.

Global Positioning System (GPS) is a space-based global navigation satellite system (GNSS) that provides reliable location and time information in all weather and at all times and anywhere on or near the Earth when and where there is an unobstructed line of sight to four or more GPS satellites.

It is freely accessible to anybody with a GPS receiver. Apple, Google, and other mobile providers have developed frameworks to deal with the location services calculated from GPS, WiFi or Cell Tower.

More information can be found at:

10257 questions
3
votes
1 answer

Cannot get GPS location on iPhone

My app runs perfectly on the simulator and everything works fine. But now i wanted to thest it on my iPhone and i found out that the GPS funcution don't work. Here is my code. [super viewDidLoad]; //eigener Standort locationManager =…
dereflo
  • 31
  • 3
3
votes
2 answers

Send SMS when mobile device comes out of a specific area

I am building a android application which 1.Tracks phones location using GPS and stores it a file 2. It sends a SMS to a number when the phone goes out of a specified area. I've implemented the first one using commonsware's Locationpoller but I want…
fz8975
  • 45
  • 1
  • 8
3
votes
1 answer

How to find the route between two places in BlackBerry?

How do I find the route information between two places in BlackBerry? I'm using MapField to show the map in my application.
Kumar
  • 5,469
  • 20
  • 64
  • 87
3
votes
2 answers

Blackberry - LocationProvider.getLocation() hangs on

I wrote a very simple application that asks the LocationProvider for a location and prints it to System.out. This works great in the simulator. However, when I run it on my blackberry device, the call to getLocation seems to hang indefinitely. I am…
tek3
  • 2,095
  • 2
  • 20
  • 50
3
votes
2 answers

How to wait for a GPS fix before recording location

I am having trouble finding an approach to wait for a GPS fix in my Android application. I am running a service to record user location and want to wait for a GPS fix before I do so. Can anyone suggest a method for approaching this?
Daniel Flannery
  • 1,166
  • 8
  • 23
  • 51
3
votes
1 answer

Android: how to find total distance covered using GPS when continuously moving?

This is my code. Please tell me y it is not able to calculate the distance.. In this code res is a long variable which is supposed to store the total distance covered. This code is supposed to calculate distance based on GPS as soon as there is a…
Aaro247
  • 57
  • 1
  • 9
3
votes
2 answers

android get zipcode of India from latitude and longitude

I need to get the zip code from a latitude and longitude, Im able to get the address with street names but cannot get the zip code. String pCode is returning Null in the below code. Below is the code I'm using: import java.io.IOException; import…
3
votes
1 answer

Android: getting location using GPS provider returns a wrong location

I'm implementing an app that gets your location when you open it. It only gets it when the activity is created, so I don't need a LocationListener. I'm testing it in two real devices. First I try to get the location using GPS_PROVIDER. If the result…
PX Developer
  • 8,065
  • 7
  • 42
  • 66
3
votes
2 answers

Android GPS Speed

I have a question about android.location.Location.getSpeed(). I have implemented my LocationListener and specified its provider to use GPS. This way getSpeed() is always 0.0. I have read about this, no problem. Now, when I set up Criteria and…
John Smith
  • 752
  • 9
  • 35
3
votes
1 answer

How to get all GPS coordinates between start and end points on a route for Google Maps?

Is there a way online that I can use to get all the gps points on a route between two points on a Google Map? i.e, if I give starting point and destination point, I need to get all the GPS points on that particular route.
ChanChow
  • 1,346
  • 7
  • 28
  • 57
3
votes
2 answers

Service lifecycle in Android

I have a service in my Android application that needs to continue listening for location updates after the user has exited the application (the implications of this on battery life are a separate matter). I'm not sure that I have correctly…
Froskoy
  • 2,967
  • 5
  • 20
  • 21
3
votes
2 answers

Indoor positioning

I am trying to get indoor gps by trying to orient my floorplan with the actual building from google maps. I know perfect accuracy is not possible. Any idea how to do this ? Do the maps need to be converted to kml format?
user2054702
  • 69
  • 1
  • 11
3
votes
1 answer

Gps is not working after restart my mobile

i am developing an application , in that i need to find current location values. For that, i enabled gps programmatically. now, i switched off and switched on my mobile. Now, i unable to get current location values but my device's gps is turned…
koti
  • 1,071
  • 3
  • 15
  • 35
3
votes
1 answer

Mock GPS location issue

I'm developing an APP that get user specified latitude,longitude, and altitude, then fake this GPS location on the phone, and show that I am at that location in google map. I have the required permission on manifest file and mocked location is…
Junfei Wang
  • 578
  • 1
  • 13
  • 26
3
votes
2 answers

Point arrow to direction the user is facing

In the Google Maps application, there is a small blue arrow that points in the direction the uses is facing. How can I duplicate this in my app? Please provide sample code.