屏幕上有个按钮,点这个按钮后屏幕立即关闭,但cpu不休眠,这个可以实现吗?
解决方案 »
- 怎么给listFragment设置背景
- Android自己定义锁频控制程序,有个Bug急,系统默认的锁屏界面进不去了
- you are office feint requires an active network connection
- 请教应用图标大小问题
- 怎样对android项目进行界面编辑
- listView控件问题 为什么有些选项可以运行 有些不行
- android4.4 launcher3默认桌面在哪配置?
- 点九图的图片查看有边框,点九工具查看没有边框,怎么破
- imageloader 同时内存缓存和磁盘缓存
- AccessibilityService操作流程完成后如何跳转到自己的APP页面?
- android 读取耳机的音频数据
- android应用程序意外停止
PowerManager mPowerManager = (PowerManager)getSystemService("") mPowerManager.gotoSleep(System.currentMillions); //参数表示执行锁屏时间的时间。 你可以去看看SDK PowerManager 类使用。