我要实现一项功能,在该功能上,单击按钮会出现android菜单,我们可以在长按电源按钮的情况下看到该菜单,然后用户可以选择关闭设备。
我说的是这个菜单
我需要它没有根。商店中有一个无需root即可执行的应用程序。 https://play.google.com/store/apps/details?id=com.jjo.lockScreenButton
android android-intent
android ×1
android-intent ×1