机器人:收听背景键preSS [英] android : listening to keypress from background

查看:95
本文介绍了机器人:收听背景键preSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这个题目读了很多答案,这是我已经明白

I read many answers on this topic and this is what i have understood

这是不可能得到任何硬键从服务(家庭,菜单,背部,ETSC)preSS事件。它不提供任何服务。

It is not possible to get any hardkey (home,menu,back,etsc ) press events from a service. It is not delivered to any service

有关键拍照键和媒体控制广播事件,如果这些应用程序是不是已经在前台被发送。

For key camera button and media control broadcast events are sent if these applications are not already in the foreground.

所以我需要断定它是不可能通过发动$ P $应用程序pssing硬键或硬键即组合(如Home键2次或菜单键,然后返回键)?

So i need to conclude that it is not possible to launch an app by pressing a hardkey or a combination of hardkeys ie ( like home key 2 times or menu key and then back key ) ?

如果这是三星是如何启动的时候Vlingo的home键是pressed 2倍的情况下。
这个功能是如何加入到三星Galaxy

If this is the case how is samsung launching Vlingo when home key is pressed 2 times. How this functionality is added to samsung galaxy

非常感谢您的时间和帮助

thanks a lot for your time and help

推荐答案

该服务将无法获得该KeyEvent。

The Service Can not get the KeyEvent.

三星可与系统ROM直接做到这一点。但是,我们不能。

Sumsung can do it directly with the system rom. But we can not.

这篇关于机器人:收听背景键preSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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