Dear CSPro Tam;
How we can prevent from fake GPS. For instance,
I want to check that they are getting GPS proper way or they are using application from Play store to get Fake GPS.
Thanks.
a.
How to prevent from fake GPS
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: How to prevent from fake GPS
The best way, of course, is to hire enumerators that you can trust.
Unfortunately, Android keeps adding new security restrictions. In the past you could have used the dirlist function to get a list of the /data/app folder, but this won't work any longer unless your device is rooted.
I believe one of the fake GPS apps I use for testing always returns the same accuracy, and I think always takes the same amount of time to get a reading. You could check those figures and use those metrics to help determine if the reading is real.
Alternatively, you could write your own small Android application to determine if an application is running:
https://stackoverflow.com/questions/421 ... on-android
You could then call into that program using the SystemApp features of CSPro.
Unfortunately, Android keeps adding new security restrictions. In the past you could have used the dirlist function to get a list of the /data/app folder, but this won't work any longer unless your device is rooted.
I believe one of the fake GPS apps I use for testing always returns the same accuracy, and I think always takes the same amount of time to get a reading. You could check those figures and use those metrics to help determine if the reading is real.
Alternatively, you could write your own small Android application to determine if an application is running:
https://stackoverflow.com/questions/421 ... on-android
You could then call into that program using the SystemApp features of CSPro.
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: How to prevent from fake GPS
Dear Gregory;
Thank you for the prompt reply. Unfortunately, time and accuracy changed every time.
Best.
a.
Thank you for the prompt reply. Unfortunately, time and accuracy changed every time.
Best.
a.
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: How to prevent from fake GPS
Dear Gregory;
Based on your suggestion, i am using timestamp() function to get time difference between start gps and stop gps and it is working 95%.
Thanks.
a.
Based on your suggestion, i am using timestamp() function to get time difference between start gps and stop gps and it is working 95%.
Thanks.
a.