如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?

how to programmatically remove gps blinking icon from status bar in android (or make it never blink)?(如何以编程方式从 android 的状态栏中删除 gps 闪烁图标(或使其永不闪烁)?)

本文介绍了如何以编程方式从 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 闪烁图标(或使其永不闪烁)?