How to prevent from fake GPS

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

How to prevent from fake GPS

Post by khurshid.arshad »

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.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: How to prevent from fake GPS

Post by Gregory Martin »

The best way, of course, is to hire enumerators that you can trust. :D

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.
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: How to prevent from fake GPS

Post by khurshid.arshad »

Dear Gregory;

Thank you for the prompt reply. Unfortunately, time and accuracy changed every time.

Best.
a.
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: How to prevent from fake GPS

Post by khurshid.arshad »

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.
Post Reply