Didn't know whether to post this in "Talking Livecode" or here, because although I'm asking the following with android in mind, I'm really looking for answers that apply to both android AND iOS.....
My baseline question is: when I query for a detailed=true location reading, one of the items returned is "timestamp". In the documentation, there really is nothing describing what or where this "timestamp" is coming from. Is it from actual GPS packets? ...or from the cellular network if the reading came from AGPS (tower triangulation)?
In reading about GPS timestamps in google's api's (IOS as well), there seems to be different timestamps one can get depending upon which Location object is queried.....and thus those "timestamps" can be and mean different things.....
I'm simply trying to ascertain "what the heck timestamp am I getting from LC"....
I don't know if its a LC thing, or if GPS timestamps from mobile devices in general are unreliable, but when simply logging detailed location data in a test app, I see all sorts of (seeming) anomalies with the "timestamp", and it would be ultra-helpful to have some information/documentation on the origin of what LC is returning as "timestamp"...
(BTW, I *only* do a detailed=true location mobileSensorReading when I receive a locationChanged message)
For example, sometimes I'll get timestamps that are several minutes to over an hour IN THE FUTURE......sometimes I'll see a timestamp that is indeed "old", but cannot be *reliably* deemed as "old" since one can receive readings WITH THE SAME "OLD" TIMESTAMP where the GPS coordinates are changing and the "accuracies" are changing/improving. If a GPS reading has "changed" (along with its calculated "accuracy"), then why would I get many GPS readings with the EXACT same timestamp?
The above makes it difficult (impossible?) to discern actual "stale" readings vs "usable" readings.....
Can anyone shed any light on what LC's "timestamp" actually is and/or why I'm seeing some of the timestamp anomalies that I detailed above?
TIA!!
Paul
GPS timestamp
The place to discuss anything and everything about running your LiveCode on Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Return to “Android Deployment”
Jump to
- LiveCode Community
- ↳ Announcements
- ↳ Developer Services Marketplace
- ↳ User Groups and Events
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Off-Topic
- ↳ Made With LiveCode
- Getting Started With LiveCode
- ↳ Getting Started with LiveCode - Complete Beginners
- ↳ Getting Started with LiveCode - Experienced Developers
- ↳ Converting to LiveCode
- ↳ App Building Course
- ↳ Simple Messages
- ↳ Calculator
- ↳ Notes
- ↳ Clock
- ↳ Web Browser
- ↳ Weather
- ↳ Compass
- ↳ Photos
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- ↳ Legacy Project: MetaCard
- Extending LiveCode
- ↳ Using Plugins for Customizing the LiveCode IDE
- ↳ Using Externals
- ↳ Making IDE Plugins
- ↳ Building Externals
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Mac OS
- ↳ Linux
- ↳ iOS Deployment
- ↳ Android Deployment
- ↳ CGIs and the Server
- ↳ HTML5
- ↳ Raspberry Pi
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ LiveCode University
- ↳ Educational Outreach
- Livecode Open Source Archived Forum- closed to posting
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Documentation and Tutorials
- ↳ Brainstorms
- ↳ Community Projects
- ↳ rIDE
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ idea2app and Coding School
- ↳ Admin Archive
- LiveCode Hosting
- Forum Archives
- ↳ Archived: Third Party Extension Support
- ↳ rTree
- ↳ rGrid
- ↳ Data Tree
- ↳ Archived: LiveCode Open Source
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Archived: Academic Endeavors
- ↳ September Academy
- ↳ Summer School 2013
- ↳ Archived: Project Specific
- ↳ Business and Kiosks
- ↳ Digital Art and Portfolios