keyguardlock

With security keyguard active transition between activities is weird

耗尽温柔 提交于 2019-12-22 10:45:15
问题 I have my main activity A and when the user presses a button i open another activity B. But when this happens B doesn't just appear on top of A: A disappears secure keyguard shows up B appears And when i get rid of B the same thing happens. This is annoying because there's a lot of flickering with no real purpose on the screen. Is there any way to achieve direct transition from A to B while keyguard is active without merging the 2 activities into 1? Here is what i'm doing in onCreate for both

Activity Alarm do not turn on screen in Sony Xperia P when alarm played

做~自己de王妃 提交于 2019-12-13 02:41:55
问题 My alarm program on Android does not work on many Samsung and HTC devices; it does not turn on the screen and does not play alarm until the screen is manually turned on. This problem is in Sony Xperia P and Huawei Honor phone... I use any thing that I think solve my problem in my code, but it isn't fixed! :( This is my code: try { // baraye roshan kardane safe va roshan negah dashtane oon dar Huawei honor PowerManager mPowerManager = (PowerManager) PlayAlarmActivity.this.getSystemService

With security keyguard active transition between activities is weird

穿精又带淫゛_ 提交于 2019-12-06 02:00:46
I have my main activity A and when the user presses a button i open another activity B. But when this happens B doesn't just appear on top of A: A disappears secure keyguard shows up B appears And when i get rid of B the same thing happens. This is annoying because there's a lot of flickering with no real purpose on the screen. Is there any way to achieve direct transition from A to B while keyguard is active without merging the 2 activities into 1? Here is what i'm doing in onCreate for both activities: getWindow().addFlags( WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | WindowManager

Android Google Chrome not firing after lockscreen app

感情迁移 提交于 2019-12-03 23:57:08
问题 I have a lockscreen app, my activity is the first when the user hits unlock power button. I have a website link on the lockscreen-app. When the pattern-unlock is disabled , chrome gets fired with the the website link. But when I enable the security pattern, after the user enters his pattern, chrome app opens but the website is not fired. pattern-lock enabled MYLOCK-SCREENAPP > CLICK THE LINK > goes to default lockscreen, user enters pattern > Chrome launches but not the website. pattern-lock

Android Google Chrome not firing after lockscreen app

随声附和 提交于 2019-12-01 03:13:56
I have a lockscreen app, my activity is the first when the user hits unlock power button. I have a website link on the lockscreen-app. When the pattern-unlock is disabled , chrome gets fired with the the website link. But when I enable the security pattern, after the user enters his pattern, chrome app opens but the website is not fired. pattern-lock enabled MYLOCK-SCREENAPP > CLICK THE LINK > goes to default lockscreen, user enters pattern > Chrome launches but not the website. pattern-lock disable MYLOCK-SCREENAPP > CLICK THE LINK > Chrome launches but not the website. I am using below, to