How to set window flags in Android NDK
Full screen mode for example,
ANativeActivity_setWindowFlags(app->activity, AWINDOW_FLAG_FULLSCREEN, 0);
where app is the ptr to struct android_app defined in android_native_app_glue.h.
This function is the NDK version of android.view.Window.setFlags() of Java.
The struct android_app is handed from the system via void android_main(struct android_app* state) if you use a native activity.
Where to put this code into? I'm not sure but "case APP_CMD_INIT_WINDOW:" in event hander looks working.
Please remember to #include