Questions tagged [gps-time]

GPS Time is an Atomic Time Scale.

Origin of this time system: 06 jan 1980 (00h 00m 00s).

Scale of this time system: SI second .

60 questions
21
votes
4 answers

Find nearby users of an app (iPhone and Android)

I am working on an app that has an iPhone version as well as an Android version. My goal is... display a list of nearby users of my app (iPhone app users and Android app users). Lets say a list users which are currently within 1 mile or 2 miles…
Atif Azad
  • 1,294
  • 1
  • 16
  • 30
18
votes
1 answer

Android: Put GPSTimeStamp into jpg EXIF tags

I trying to set the "GPSTimeStamp" into the exif tags of an jpg via android. The documentation is pretty scarce on this one: http://developer.android.com/reference/android/media/ExifInterface.html#TAG_GPS_TIMESTAMP Type is String. Constant Value:…
Redfox
  • 1,024
  • 1
  • 11
  • 28
14
votes
2 answers

GPS-time in Android

I'm looking for a way to display GPS-time in my app. What is the easiest way to do this? (It has to be GPS-time due to slight time differences between gps time and internal system time) Thanks
Andreas
  • 2,007
  • 5
  • 26
  • 37
11
votes
5 answers

GPS position to Timezone

I'd like to know the local time where my user is sending his request from. Basically, is there such a thing as a function like this var localTime = getLocalTime( lat, long ); I'm not sure if a simple division on the lat could work, since most of…
Alex
  • 538
  • 1
  • 8
  • 18
9
votes
5 answers

Is it possible to get the atomic clock timestamp from the iphone GPS?

I'm looking for a reliable way to get the time. It can't be tampered with and it needs to work offline. So no internet time , no user time setup in settings and no BSD uptime time since last reboot. I was wondering since GPS works using atomic…
Maxm007
  • 1,190
  • 2
  • 13
  • 21
7
votes
2 answers

convert from GPS week number,time of week to datetime

I have a GPS device that sends some objects including a GPS time to my server. It's coming in format of week number,seconds into week. I want to convert that to a datetime format. I found some codes for that but all I found is how to convert week…
Ramah
  • 455
  • 1
  • 8
  • 18
6
votes
2 answers

Android problem finding out how recent latest GPS fix is

My app uses LocationListener to keep track of the current location. So long as the GPS Provider is providing regular fixes this works well. However, I want my app to alert the user if the location is no longer reliable because the fix is no longer…
prepbgg
  • 3,564
  • 10
  • 39
  • 51
4
votes
2 answers

Where can I find some GPS unit test data?

Where can I find some GPS unit test data to validate my code? For example: Distance between two coordinates (miles / kilometers) Heading/bearing from Point A to Point B Speed from Ponit A to Point B given a duration Right now I'm using Google…
Brandon
  • 13,956
  • 16
  • 72
  • 114
4
votes
1 answer

Windows Phone, Can you get the real time from GPS?

Is it possible to get the real time, not system time (as this can be changed) from a GPS location request? It seems like Geoposition.Coordinate.Timestamp is the system time, see here:…
Steven Yates
  • 2,400
  • 3
  • 30
  • 58
4
votes
3 answers

How accurate can I expect the time to be from a stratum 0 NTP server on the same subnet on ethernet?

I have an application that depends on gpsd and ntpd to accurately set the system time on a linux machine. gpsd is fed NMEA + PPS The application is punping ~25MB per second over the network and I think the loading on the system is causing jitter in…
JeffV
  • 52,985
  • 32
  • 103
  • 124
4
votes
2 answers

Time precision between NTP and GPS source

I have NTP client implementation (on Linux) to send/receive packets to (Stratum 1 or 2) NTP server and get the server time on the board. Also, I have another application running on Linux which gives me the GPS time. Before I get the time…
Sam
  • 41
  • 1
  • 2
4
votes
3 answers

BlackBerry Refresh location via GPS or Cell Tower

I am trying to refresh the current location through a click of a button. The location can be acquired via GPS or Cell Tower, whichever is available. My problem is I never see the "Loading Screen". I know it appears as something appears/closes…
Sarah
  • 1,895
  • 2
  • 21
  • 39
3
votes
1 answer

How to get GPS Time in Flutter?

I'm trying to get GPS time in my flutter application, I'm able to get the device current time but as it can be changed in phone's setting and can't use Network provided time NTP because I'm using my application offline. Is there any flutter library…
3
votes
0 answers

How to check if "Use GPS-provided time" is selected in "Automatic date & time" programmatically?

I have a device with Android 7 that has "Use GPS-provided time" option in "Automatic date & time". I use this code to know if "Automatic date & time" vale android.provider.Settings.Global.getInt(getContentResolver(),…
Jon
  • 891
  • 13
  • 32
3
votes
0 answers

Convert UTC to GPS time

As described here and here, there is a difference between UTC and GPS Time because UTC occasionally has a leap second applied. As of 2021 the difference is 18 seconds. So currently the equation is: var gpsTime = utcDate.AddSeconds(18); I need to…
Fidel
  • 7,027
  • 11
  • 57
  • 81
1
2 3 4