sz4t4n Member Licensed User Longtime User Mar 5, 2019 #1 Hi, i was asked to write small simple app about turning on/off flash on phone A using phone B. I use MQTT for that (no trouble with that). Now I have a question - Is it possible to turn flash on/off when the phone is sleeping and screen is locked? thanks
Hi, i was asked to write small simple app about turning on/off flash on phone A using phone B. I use MQTT for that (no trouble with that). Now I have a question - Is it possible to turn flash on/off when the phone is sleeping and screen is locked? thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2019 #2 You will need to turn the screen on with PhoneWakeState. You can set your app to run before the lock screen. Upvote 0
You will need to turn the screen on with PhoneWakeState. You can set your app to run before the lock screen.