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 button labeled "Off." When one clicks on the On button it sets the AndroidPlus flashlight to 1. When one clicks on Off it sets the Android Plus flashlight to 0. I've built the app as an APK file and installed it on my Android phone. In the Android Options I have the Hardware Required Setting of Flashlight checked off. When I install the app and run it, I tap on the On button. Nothing happens though. It doesn't turn the light of the phone on. I know the flash LED works as I have a flashlight app installed on my phone already.