View.setKeepScreenOn(true) 需要 "android.permission.WAKE_LOCK" 权限?
摘要:
View.setKeepScreenOn(true) 需要 "android.permission.WAKE_LOCK" 权限吗?我目前的推断是“G1 (cupcake 1.5)上不需要,emulator 和其他设备/平台可能需要”。 如果你的程序调用了View.setKeepScreenOn() 并且出现了莫名其妙的 “Force close” 的话,不妨试试加上这个 permission。 阅读全文
posted @ 2009-09-07 13:26 android开发 阅读(1917) 评论(0) 推荐(0)
浙公网安备 33010602011771号