使用 Appcelerator 检测电源按钮点击 Android
Detect power button click with Appcelerator Android
在 Appcelerator Android 上,有没有办法检测用户何时在应用程序上单击电源按钮关闭屏幕,以及检测用户何时在应用程序运行时打开屏幕在屏幕上 ?
我无法在 Appcelerator 文档中找到事件,也找不到任何相关模块。
在 Appcelerator Android 上,有没有办法检测用户何时在应用程序上单击电源按钮关闭屏幕,以及检测用户何时在应用程序运行时打开屏幕在屏幕上 ? 我无法在 Appcelerator 文档中找到事件,也找不到任何相关模块。