要實(shí)現(xiàn)的功能:在android Framework層被裁剪掉的情況下,實(shí)現(xiàn)監(jiān)聽長按的物理power按鍵,實(shí)現(xiàn)長按3秒后關(guān)機(jī)功能;思路:使用event epoll,非阻塞式IO操作,同時(shí)避免無差別輪詢,
億速云公眾號(hào)
手機(jī)網(wǎng)站二維碼
Copyright ? Yisu Cloud Ltd. All Rights Reserved. 2018 版權(quán)所有
廣州億速云計(jì)算有限公司粵ICP備17096448號(hào) 粵公網(wǎng)安備 44010402001142號(hào)增值電信業(yè)務(wù)經(jīng)營許可證編號(hào):B1-20181529