开发者

Android : check whether Home key is pressed or not

开发者 https://www.devze.com 2023-02-02 06:56 出处:网络
Can anybody help me to find out, how can i find that whether the HOME key is pressed or not? I want to take action based on it....

Can anybody help me to find out, how can i find that whether the HOME key is pressed or not? I want to take action based on it....

I am using开发者_如何学C KeyEvent.isModifierKey(KeyEvent.KEYCODE_HOME) to check whether home key is pressed or not....It always returns me false....

Can anybody help me to go ahead..

Thanks, Rakesh


You cannot do this. Your application will not receive HOME key events.

0

精彩评论

暂无评论...
验证码 换一张
取 消