Ask Your Question

Revision history [back]

I'm experiencing the same problem with the camera, though I managed to solve it partially[*] by setting my activity to work in fullscreen mode.

Just add this before the setContentView in the onCreate method:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

[*] I said partially because still I can't select the resolution I want.

I'm experiencing the same problem with the camera, though I managed to solve it partially[*] by setting my activity to work in fullscreen mode.

Just add this before the setContentView in the onCreate method:method of your activity:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

[*] I said partially because still I can't select the resolution I want.