[Android] Add preferences to manage resolution of pictures and video. Add comments. Code better implemented. Tried without success to fix the bug with the start of the camera. (black screen)