开发者

Android: How to prevent GPS auto-disable

开发者 https://www.devze.com 2023-04-02 20:14 出处:网络
We created a开发者_Python百科 small app, that tells your location. On some devices, if there is no signal to gps satellites (in a house, tunnel, underground) it is searching for a while, then it stops

We created a开发者_Python百科 small app, that tells your location. On some devices, if there is no signal to gps satellites (in a house, tunnel, underground) it is searching for a while, then it stops and never searches again. So it is disables automatically after some time. How can I prevent this?


hi check this post for enabling and disable the gps programmtically hope you get some idea/help

How can I enable or disable the GPS programmatically on Android?

How to programmatically enable GPS in Android Cupcake

Turn off GPS programmatically when i exit my program

0

精彩评论

暂无评论...
验证码 换一张
取 消