如何创建和QUOT;隐身"式的Andr​​oid应用程序? [英] How to create a "stealth"-like Android app?

查看:108
本文介绍了如何创建和QUOT;隐身"式的Andr​​oid应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想有我的应用程序运行在一个有点隐形模式。两个主要的事情,我想要做的:

I'd like to have my application run in somewhat of a "stealth" mode. Two main things I'd like to do:

  1. 不显示在已安装的应用程序列表中的应用程序图标(抽屉?)编程。
  2. 通过拨号盘(一些特殊的号码组合)启动应用程序

我知道我可以删除启动意图过滤器隐藏图标:

I know I can remove the launcher intent filter to hide the icon:

<category android:name="android.intent.category.LAUNCHER" />

但我想这样做编程,基于应用程序的设置。我想我可以解决的,但对我来说最大的问题是搞清楚如何通过拨号盘启动的应用程序。我GOOGLE了四周,搜寻左右,但还没有真正发现任何东西,以帮助这一点。

But I'd like to do this programmatically, based on app settings. I guess I could work around that, but the biggest issue for me is figuring out how to launch the app via dial pad. I've googled around and searched SO, but haven't really found anything to help with that.

在此先感谢。

推荐答案

  • 您可以编程方式从发射所描述的删除图标<一href="http://stackoverflow.com/questions/972933/remove-application-from-launcher-programatically-in-android">here
  • 如果您要启动的应用程序的调用神奇的数字,这是很简单的使用BroadcastReceivers进行呼出,你可以得到的右键数应用程序

  • You can programmatically remove icon from launcher as described here
  • If you want to launch app as call to magic number, it's quite simple using BroadcastReceivers for outgoing call, you can get solution from Right Number app
  • 这篇关于如何创建和QUOT;隐身&QUOT;式的Andr​​oid应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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