Thank you Alex,
I tried different things but nothing is working and the Android nav bar is still visible…
It’s surprising that there haven’t been any solutions with Felgo since time and knowing that it’s still an essential feature for games… 😔
Last week I tried to migrate to Felgo 4 but I didn’t manage to get my game working, something causes the game to crash but I didn’t find what it is! So I gave up trying to migrate!
In my java file (in my project folder /android/src) I added a new QtActivity with
onCreate(Bundle savedInstanceState)
and
onWindowFocusChanged(boolean hasFocus)
and these flags:
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
I didn’t forget to add this new activity in <activity> in AndroidManifest.xml
Everything compiles correctly.
Do I have to set something else in my GameWindow object (Main.qml) ?