07-11-2012 03:05 AM
I tried to get the GPS latitude and longitude values using Autonomous and CellSite Mode parallelly using two threads, but while execution only one thread is being active and I get values from only that, the other thread doesn't return any values at all.
Is it possible to retrieve the GPS information using multiple threads running parallelly and also can I display the latitude and longitude values from the threads on the screen with less accuracy rate among the values.
Thanks in advance...
07-11-2012 05:28 AM
The process you are using works in general, in other words, it is possible to have separate Threads trying both Cell Site and GPS Location Providers.
Be aware that the Cell Site Provider will return a lot faster than the GPS Provider, so perhaps you are not waiting long enough for the GPS location?