hi all,
i want to block my users from using Mock Location function in android,
so first i need to detect it.
for earlier version of android, it is easy.
but if you running android 6.0+ always return False
question, how do i detect mock location using android 6.0+ ?
regards
i want to block my users from using Mock Location function in android,
so first i need to detect it.
for earlier version of android, it is easy.
B4X:
Dim p As Phone
If p.GetSettings("mock_location") = "0" Then Return False Else Return True
but if you running android 6.0+ always return False
question, how do i detect mock location using android 6.0+ ?
regards
Last edited: