Sujet : Re: Was Google Location Accuracy (now is How to Spoof Wi-Fi Location)
De : usenet (at) *nospam* andyburns.uk (Andy Burns)
Groupes : comp.mobile.android alt.internet.wirelessDate : 27. Oct 2024, 21:19:11
Autres entêtes
Message-ID : <lo7li5Fd085U1@mid.individual.net>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
Jeff Liebermann wrote:
I know nothing about spoofing a wi-fi
generated location on an Android phone.
If GPS is off, and the phone is having to do coarse location via wifi, it checks what visible SSIDs and signal strengths it can see, does an API call on a google database which returns a location ... that's how it works normally ... to fake a location you'd have to poison their database adding fake SSIDs and removing real ones ... basically a non-starter that way.
However there is reference to mock location support in the "hidden" developer options, basically an API to feed fake co-ordinates from an app to the phone
<
https://developer.android.com/reference/android/location/LocationManager#setTestProviderLocation(java.lang.String,%20android.location.Location)>