Android NDK Set Screen Orientation -
i want programmatically set screen orientation using native only. know can set/lock orientation in androidmanifest.xml file android:screenorientation="landscape", means have rebuild each time want different orientation specific apps.
what prefer is, read setting file androidmanifest , set orientation before egl , opengl initilized, dont need rebuild apk. if 1 wants other orientation, edit file , run app.
i avoid java code if possible app written in c++ only.
i looked @ ndk source , found aconfiguration_setorientation function, not work.
thanks
Comments
Post a Comment