摘要: Android锁屏时会先调用onPause();解锁时调用onResume,读入保存的应用程序的资源。如果运行程序时已经锁屏,应用程序会先调用onCreate(),然后onResume(),再则onPause()。取消锁屏:<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>KeyguardManager mKeyGuardManager = (KeyguardManager)getSystemService(KEYGUARD_SERVICE);KeyguardLock mLo 阅读全文
posted @ 2012-03-16 10:03 Rexsee - 睿客‘c 阅读(640) 评论(0) 推荐(0) 编辑