Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Disable Navigation and Status Bar

Android Disable Navigation and Status Bar

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 561 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maydin
    wrote on last edited by
    #1

    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.java

    I couldn't even get simple code work in here:
    https://developer.android.com/training/system-ui/navigation

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved