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. Full screen on Android ???

Full screen on Android ???

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 3 Posters 9.9k 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.
  • a-r-tA Offline
    a-r-tA Offline
    a-r-t
    wrote on last edited by
    #1

    Please has anyone –managed- to remove/hide the Android "StatusBar" ?
    making a real “Full Screen” application.

    I use this code …

    @ MainWindow w;
    w.Ini();
    w.showFullScreen();
    @

    Thank you for your help
    Artemis

    1 Reply Last reply
    0
    • F Offline
      F Offline
      flaviomarcio
      wrote on last edited by
      #2

      do as follows:
      @
      namespace sysvar
      {
      const Qt::WindowModality WindowsFormShow =Qt::ApplicationModal;
      const Qt::WindowType WindowsFormStyle=Qt::FramelessWindowHint;
      const Qt::WindowStates WindowsFormState=
      #ifdef Q_OS_WIN32
      Qt::WindowNoState;
      #endif
      #ifdef Q_OS_WINCE
      Qt::WindowFullScreen;
      #endif
      #ifdef Q_OS_ANDROID
      Qt::WindowFullScreen;
      #endif
      }

      form->setWindowFlags( sysvar::WindowsFormStyle );
      form->setWindowState( form->windowState()|sysvar::WindowsFormState);
      form->setWindowModality(sysvar::WindowsFormShow);
      form->showFullScreen();
      @
      Works only alpha4 or higher

      [Edit: Added @ tags around code -- mlong]

      Flavio Portela

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flaviomarcio
        wrote on last edited by
        #3

        Use forum qt-android

        https://groups.google.com/forum/?fromgroups#!forum/android-qt

        Flavio Portela

        1 Reply Last reply
        0
        • a-r-tA Offline
          a-r-tA Offline
          a-r-t
          wrote on last edited by
          #4

          Hi Flavio

          I think you gave the best answer I ever see in any forum about the Android FullScreen. I will test the code at the afternoon when I have the device because now is not with me and I will do a confirmation.

          millions thanks !

          1 Reply Last reply
          0
          • a-r-tA Offline
            a-r-tA Offline
            a-r-t
            wrote on last edited by
            #5

            Hi Flavio

            Unfortunately the test of the above code failed to do Full-Screen on the "FlyTouch 8" device with "Android 4" OS.

            Have you tested it and is it working on your own device?
            Have you any idea?

            Thank you for the try.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flaviomarcio
              wrote on last edited by
              #6

              For WinCE worked.
              To Android_alpha3 worked occasionally with mistakes.
              So I did not use the feature Alpha3.
              I do not know if this alpha4_1 working, but I saw that the ticket had to correct fix.

              Here you will find information about all the bugs and how this Qtnecessitas the correction process:

              http://sourceforge.net/p/necessitas/tickets/

              Flavio Portela

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mbnoimi
                wrote on last edited by
                #7

                I forced to bring this thread to the life :\

                I face same problem with all dialog types under Android 4.x and Qt 5.1.x as mentioned "in my thread":https://qt-project.org/forums/viewthread/32025/; So may you please help me out to find a solution.

                BTW, I mentioned in my thread that this issue disappear in case hiding to the tray then showing the application.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  flaviomarcio
                  wrote on last edited by
                  #8

                  In Qt4.8.x fullScreen not work well.
                  In Qt5.1.X fullScreen not work.

                  Flavio Portela

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flaviomarcio
                    wrote on last edited by
                    #9

                    I'm always watching and trying to recompile the SDK to verify changes.

                    If I have success with this, I warn you here in this topic.

                    Flavio Portela

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mbnoimi
                      wrote on last edited by
                      #10

                      [quote]If I have success with this, I warn you here in this topic.[/quote]

                      Thanks; I think it's better to file a bug report about this issue specially it's critical one

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mbnoimi
                        wrote on last edited by SGaist
                        #11

                        I filed a bug report in this link: QTBUG-33294

                        [edit: updated bug report link SGaist]

                        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