I'm testing it on my phone, which is running Android 5.01. You said the light goes off when the camera is released, which is when app is ended. Does this mean that with having "End application when...
Type: Posts; User: Kracker; Keyword(s):
I'm testing it on my phone, which is running Android 5.01. You said the light goes off when the camera is released, which is when app is ended. Does this mean that with having "End application when...
I don't necessarily need to know when the Home button is pressed. My main concern is knowing when app isn't in foreground. When it's not, would like to turn off flashlight.
I've tried conditions...
I've just tried about every possible combination of what you've suggested and none of them work when pressing the Home button. I've tried the condition of End of frame as well as End of Applicaiton...
The back button condition works fine. I have it set to when the back button is pressed it sets flashlight to 0 (AndroisPlus object) and ends the application. When back button is pressed, flashlight...
I would like to add that I've already tried the Button is down condition. I entered the keycode of 3 as that's the keycode for the Home button. It still doesn't shut the flashlight off when the...
I'm still having one issue. No matter what I do, it seems as if certain conditions aren't being recognized. I don't want people to accidentally leave the flashlight on. I wanted to where if...
Thanks! I added the camera permissions in my app. I already had Flashlight ticked. I compiled it and then installed it on my phone and it worked just fine. Guess I need to read up a bit more on...
I'm trying to create a simple flashlight app. I have the following objects in my app:
- Android Object
- AndroidPlus Object
- 2 Button Objects
I have one button labeled "On" and the other...