启动应用程序的快捷键
是否可以定义一个快捷键来启动我正在为 Android 开发的应用程序?
在后台运行的服务是否可以获取硬件按钮事件(例如相机或发送按钮)。
谢谢
Is it possible to define a shortcut key to launch the app I'm developing for android?
Can a service running in the background get hardware button events like the camera or send button for example.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么不直接将应用程序放在主屏幕上呢?
这样,只需单击一下即可,如您所愿。
Why don't you just put your Application on your Home screen?
With that, it'll be just one click away, like you want.
也有过类似的情况。但我通过这样做得到了解决方案。
您可以进入设置->应用->快速启动选择您想要启动的键和应用程序,然后按住 F5 和您选择的键。您的应用程序将启动!
Had a similar situation. But i got the solution by doing this.
U can go to settings-> Applications -> Quick Launch select the key and application u wanna launch and the press and hold F5 and the key u have selected. ur application ll launch!