Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

ShowWhenLocked not working on Android 4.4

edited November 2016 in Xamarin.Android


I want to be able to wake up my app over the lock screen, I'm using the WindowManagerFlags.ShowWhenLocked and WindowManagerFlags.DismissKeyguard. It's working fine on Android 5 and 6 but not on Android 4.X.

I added the permission DISABLE_KEYGUARD and WAKE_LOCK on the manifest.

I tried also the KeyguardManager with DisableKeyguard method but Nothing is working.

Have someone be able to do it on Android 4.X? or is there special considérations for Android 4.X?

I'm using a Samsung tablet tab E.

Sign In or Register to comment.