开发者

Android: How to prevent GPS auto-disable

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜