Start to implement flashlight
onStop()-method to release the camera
Added permission (camera) in Manifest
Add flashlight button
Imported contents and connects the button
Camera parameter and setOnClickListener to button
LogCat-info and setting button text
Setting context and packagemanager
Searching for camera + LogCat-error
Toast to see if it works when no camera detected
New method "startFlash()"
Removed button.
Including Context and PM in startFlash()
Moved camera Parameters.
Boolean check (isFlashOn)
Begin to implement a blinking flashlight
Testing Handler and Runnable
Experimenting with delay and handler
Changed layout (bigger challenge-button)
Adding button-animation.