The view that i opened camera originally work perfect,after i set this activity to android:screenOrientation=”landscape”,the preview rotate 90(270)degree. I am using ndkCamera.cpp/ndkCamera.h from here.
My main goal is to keep camera being landscape.Also let preview show correctly. PLEASE someone can help me!