I have an Android game where location is very important to the rules.
There have been a bunch of cheaters and I have spent a long time
closing off the ways that they exploit the system to cheat.  One way
they have been cheating is using a location spoofing app.  I tried
shutting that off by seeing if "Allow mock locations" is set to true
and if it is I won't let the game run.

After some research I see that rooted phones can run the location
spoofing app without having to set allow mock locations.  I want to be
able to determine if the phone is rooted so I can add extra checks to
make sure that they are not spoofing their location.  The only
suggestion I have seen to do this is to check to see if /system/bin/su
exists.  I don't think this is a reliable way to do this but it is all
I have so far.

Can anyone suggest any other ways to determine if the phone is a
rooted phone?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to