在 Android ICS 上隐藏系统栏的简单方法 [英] Easy way to hide system bar on Android ICS

查看:32
本文介绍了在 Android ICS 上隐藏系统栏的简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将提供我的 ICS 平板电脑供用户完成调查,因此我希望用户仅使用我的应用.他们应该无法切换到主屏幕,按返回按钮等,所以我想完全隐藏系统栏.

I will give my ICS tablets for users to complete a survey so I would like the user to work with my app only. They should not be able to switch to the home screen, press back buttons etc., so I would like to hide the system bar completely.

我的平板电脑已植根,我知道一些应用程序,例如我可以帮助,但是我可以帮助不需要此应用的所有额外功能.

My tablet is rooted and I know some application like this can help me, but I don't need all the extra functions of this app.

我找到了 本教程 可以帮助我,但如果我可以添加代码来做我自己的,那就太好了.

I found this tutorial that could help me, but if I can add the code to do my own, it would be great.

推荐答案

HideBar 有专门针对此用例的信息亭模式.

HideBar has a kiosk mode especially for this use case.

可在 http://ppareit.github.com/HideBar/ 上免费下载.您也可以在 https://play 的市场上找到它.google.com/store/apps/details?id=be.ppareit.hidebar.

A free download is available at http://ppareit.github.com/HideBar/. You can also find it in the market at https://play.google.com/store/apps/details?id=be.ppareit.hidebar.

如果您想将其合并到您自己的测试/调查应用程序中,您可以随时联系开发人员(请参阅电子邮件链接).可以解释代码或提供一个 Intent 来进行隐藏.

If you want to incorporate it in your own test/survey application you can always contact the developer (see the links for an email). The code could be explained or an Intent to do the hiding could be provided.

这篇关于在 Android ICS 上隐藏系统栏的简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆