简体   繁体   中英

Home Button 'pressed' detection when phone locked

This is a general question about android java programming.

Is there a way (when the phone is locked) to detect, if the home button is pressed for some seconds?

由于并非必须使用硬件按钮,因此并非所有电话都可以使用家。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM