- Home /
How do I enable the Android lock screen in developer mode?
Hi all,
I have a bug where my app crashes if the user gets to a certain screen in my app then locks and unlocks their android device. I think it's something to do with the webcam as I'm displaying the device's camera on that screen. Anyway, I built a development version of my app to debug this and found that, when in developer mode the lock screen is disabled.
http://forum.unity3d.com/threads/game-is-preventing-the-lock-screen-from-appearing.205632/
Obviously this is useless for me. Does anyone know a way around it?
Thanks in advance,
Guy
Answer by SummitJain · Apr 15, 2016 at 10:56 AM
uses-permission android:name="android.permission.WAKE_LOCK" /
add this in android manisfest.xml
Your answer
Follow this Question
Related Questions
UI and WebCamTexture problems when Android lock screen is shown 0 Answers
WebCamTexture.devices.Length returning 0 in Unity 2020.3.8f1 0 Answers
How to get webcam to work with UnityAndroid? 2 Answers
Webcam Texture and Flashlite (Android) 3 Answers
How to simultaneously render multiple (web)cam streams in Android 1 Answer