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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -