how to programmatically remove gps blinking icon from status bar in android (or make it never blink)?(如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?)
问题描述
在我使用 GPS 的 android 应用程序中,我的 UI 元素应该永久闪烁.在几次试运行后,我被告知闪烁的 GPS 图标,即当 GPS 实际尝试修复时,会从主 UI 中窃取完全不必要的用户注意力.
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.
有没有办法从应用程序中以编程方式从状态栏中删除 GPS 天线图标?或者,让它永不眨眼?
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?
谢谢!
推荐答案
你可以完全隐藏状态栏:
You could hide the Status Bar altogether:
http:///blog.thaichaiguy.com/1600/android-how-to-hide-the-status-bar-and-title-bar/
这篇关于如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?
基础教程推荐
- iOS4 创建后台定时器 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
