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. How create android widget on Qt?
Forum Updated to NodeBB v4.3 + New Features

How create android widget on Qt?

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 5 Posters 8.2k Views 2 Watching
  • 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.
  • F Offline
    F Offline
    farzannjr
    wrote on 20 Sept 2014, 14:02 last edited by
    #1

    is it possible to create Android widget using by Qt?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AlGrenadine
      wrote on 20 Sept 2014, 15:00 last edited by
      #2

      Yes it's just a regular widget

      1 Reply Last reply
      0
      • B Offline
        B Offline
        benlau
        Qt Champions 2016
        wrote on 20 Sept 2014, 15:36 last edited by
        #3

        Or you mean this kind of Android Widget?

        http://developer.android.com/design/patterns/widgets.html

        1 Reply Last reply
        0
        • F Offline
          F Offline
          farzannjr
          wrote on 22 Sept 2014, 06:21 last edited by
          #4

          yes , I mean that kind of Android widget

          1 Reply Last reply
          0
          • B Offline
            B Offline
            benlau
            Qt Champions 2016
            wrote on 22 Sept 2014, 07:58 last edited by
            #5

            I never heard that Qt supports to write Android widget. It may be possible if you develop your own application framework but it should be very time consuming.

            Bundle an Android widget written by Java with a Qt application should be fine.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mrdebug
              wrote on 22 Sept 2014, 10:29 last edited by
              #6

              Have you got an example about widget?
              Is possible to write a background application or start an application in background and then, by pressing the icon, show it?

              Need programmers to hire?
              www.labcsp.com
              www.denisgottardello.it
              GMT+1
              Skype: mrdebug

              1 Reply Last reply
              0
              • F Offline
                F Offline
                farzannjr
                wrote on 22 Sept 2014, 11:26 last edited by
                #7

                @mrdbug
                this is android widget :
                http://developer.android.com/design/patterns/widgets.html
                it's on home screen

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mrdebug
                  wrote on 22 Sept 2014, 19:31 last edited by
                  #8

                  But with Qt?

                  Need programmers to hire?
                  www.labcsp.com
                  www.denisgottardello.it
                  GMT+1
                  Skype: mrdebug

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    farzannjr
                    wrote on 1 Oct 2014, 12:27 last edited by
                    #9

                    yeah , is it possible to have Android Widget by Qt?

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      trollixx
                      wrote on 3 Oct 2014, 18:37 last edited by
                      #10

                      I was trying to find a way of creating Android widget with Qt. Since RemoteViews do not support any kind of rendering, my idea was to use the new "QQuickRenderControl":http://doc-snapshot.qt-project.org/qt5-5.4/qquickrendercontrol.html to render a QML scene off-screen and then show it as an image in the widget. It would also require some kind of custom input event handling as well.

                      I haven't tried this approach yet, but it looks like a custom modification of QtActivity might be needed to load Qt from the widget.

                      It's just an idea, but you could try it out.

                      Oleg

                      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