Flash light app in Sketchware pro

Follow the steps given below to create a Flash light android app in Sketchware pro. 1. Create a new app in Sketchware pro. 2. Switch on AppCompat and Design. 3. In View area (main.xml), add a Linear Vertical with gravity set to center_horizontal and center_vertical. Inside this add an ImageView imageview1 . 4. In image manager, add two images ic_flash_on_black and ic_flash_off_black . 5. For imageview1, select ic_flash_off_black as image. 6. In MainActivity, add import event and add following imports in it. import android.hardware.camera2.CameraManager; import android.hardware.camera2.CameraAccessException; 7. Add Camera Component cam. 8. Create two boolean variables hasCameraFlash and flashLightStatus and add a String variable cameraId . 9. Add a custom variable cameraManager of type CameraManager. 10. In onCreate , define hasCameraFlash, cameraManager, and cameraId. Register a callback for cameraManager CameraManager.TorchCallback to listen for changes in the flashlight stat...