Android Disable Navigation and Status Bar
-
wrote on 20 Oct 2019, 11:07 last edited by
Base project is this: https://doc.qt.io/qt-5/qtandroidextras-notification-example.html
I want to make this application completely fullscreen on my Android device (Android 6.0). Therefore I need to disable navigation and status bar to prevent user interaction. Power and sound buttons can still be active to quit application.
I tried Java codes from StackOverflow answers but my application always dies at deployment after successful compilation.
I think i just need to change this file but since its different activity it doesn't work.
https://code.qt.io/cgit/qt/qtandroidextras.git/tree/examples/androidextras/notification/android-sources/src/org/qtproject/example/notification/NotificationClient.javaI couldn't even get simple code work in here:
https://developer.android.com/training/system-ui/navigation
1/1