16

Is there a solid way to detect that location given by GPS is a spoofed ( If some mock location has been set to the device in background ?

There are apps in the market , which can provide fake location to the GPS .

https://play.google.com/store/apps/details?id=com.lexa.fakegps&hl=en

Rooted users can run Fake GPS without setting "Allow mock location" option.

Is there a way to detect spoofed location ?

I have posted solution here, since It been closed by few people who were unware about this . Disable / Check for Mock Location (prevent gps spoofing)

Community
  • 1
  • 1
Jambaaz
  • 2,788
  • 1
  • 19
  • 30
  • In Developer phone you can make GPS location as spoof . There are app in the market to sppof the GPS .I want to detect that . – Jambaaz Jan 24 '13 at 11:35
  • First install the app and see the result of LocationManager. – Jambaaz Jan 24 '13 at 11:41
  • 2
    You could check the location from other sources, wifi/mobile base stations and if the difference is above a certain maximum assume it's fake. – dutt Jan 24 '13 at 11:44
  • If wifi is not available and spoofed location is similar to mobile then how to detect ? – Jambaaz Jan 24 '13 at 11:50
  • 2
    But I don't understand why this question has been downvoted ? If answer is not known or question is not clear , then It can be discussed more in comments ...But putting vote down means question is invalid..but here this is not the case..!! – Jambaaz Jan 24 '13 at 12:12
  • 4
    it was downvoted by people who did not understand what spoofing is – AlexWien Jan 26 '13 at 00:43
  • Thanks AlexWien ...Stackoverflow community needs more people like you..:) – Jambaaz Jan 26 '13 at 07:02
  • See http://stackoverflow.com/questions/6880232/disable-check-for-mock-location-prevent-gps-spoofing – Benjamin Manns Apr 01 '13 at 05:14
  • 5
    @IceMAN This is a proper question. It is not ambiguous, vague, incomplete, overly broad, or rhetorical. It should not have been collapsed because you did not understand it. – Dojo May 27 '13 at 12:40
  • 1
    I have found the solution for the same and posted here ..http://stackoverflow.com/questions/6880232/disable-check-for-mock-location-prevent-gps-spoofing/16776891#16776891 – Jambaaz May 28 '13 at 09:22
  • 3
    This should be reopened and if answered somewhere else should be marked as duplicate. But surely not closed – Rohit Sharma Jul 01 '13 at 07:16
  • 2
    Agreed; I think it's pretty obvious what was being asked – wkhatch Oct 05 '13 at 00:06

0 Answers0