17 九 2013 6 如何让设备不休眠 By zmLiu In 技术 代码: NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE; Android需要配置权限: <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> Tags > ActionScript, Android, IOS
No Comment