how to programmatically remove gps blinking icon from status bar in android (or make it never blink)?

对着背影说爱祢 提交于 2019-12-30 11:15:31

问题


In my android application which uses GPS, I have UI elemnts that should blink permanently. I was told after a couple of pilot runs that the blinking GPS icon, i.e. when GPS is actually trying to get a fix, steals completely unnecessary bit of user's attention from the main UI.

Is there a way to remove the GPS antenna icon from the status bar programmatically from within the application? Or, alternatively, make it never blink?

Thanks!


回答1:


You could hide the Status Bar altogether:

http://blog.thaichaiguy.com/1600/android-how-to-hide-the-status-bar-and-title-bar/




回答2:


This is outside of the scope of the SDK and not possible.



来源:https://stackoverflow.com/questions/5747875/how-to-programmatically-remove-gps-blinking-icon-from-status-bar-in-android-or

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!