如何检测Mock LocationAndroid中是否触发了位置Marshmallow?
Mock Location
Marshmallow
以前,我用过 Settings.Secure.ALLOW_MOCK_LOCATION
Settings.Secure.ALLOW_MOCK_LOCATION
但是,在API级别23中,这已被弃用.
我想检查触发器是否位于假位置或原始GPS?
现在,检查是否Mock Location启用的替代方法是Android Marshmallow什么?
Android Marshmallow
android location geofencing android-6.0-marshmallow
android ×1
android-6.0-marshmallow ×1
geofencing ×1
location ×1