覆盖菜单键长preSS和发动长preSS的应用 [英] Override menu key long press and launch an application on long press
问题描述
我想要做这样的事情 -
1.Override菜单键长preSS的默认操作(即启动软键盘)。
2.Whenever用户长presses的菜单键,我的应用程序将被启动。
3.Moreover,我的应用程序可能并不需要在前台,也就是即使从其它应用程序我的应用程序应该启动长期有人presses菜单键。
这是在所有可能的?怎么样?
这是在所有可能的?怎么样?
块引用>制作自己的固件,在其中添加此功能到操作系统,并通过自己的个人手机上部署您的自定义固件(和任何人的手机其他你能说服运行它)。
这是不可能的一个普通的Android SDK应用程序。
I want to do something like this-
1.Override the default action of the menu key long press (i.e. launching soft keyboard).
2.Whenever user long presses the menu key, my application will be launched.
3.Moreover, my application may not need to be in the foreground, i.e. even if someone long presses menu key from any other application my application should be launched.
Is this at all possible? How?
解决方案Is this at all possible? How?
By making your own firmware, where you add this capability to the operating system, and by deploying your custom firmware on your own personal phone (and the phones of anyone else you can convince to run it).
This is not possible for a regular Android SDK application.
这篇关于覆盖菜单键长preSS和发动长preSS的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!