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. Share files in Qt QML/C++ app in Android
Forum Updated to NodeBB v4.3 + New Features

Share files in Qt QML/C++ app in Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 4 Posters 147 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.
  • msauer751M Offline
    msauer751M Offline
    msauer751
    wrote last edited by
    #1

    Hi,
    I write an app in Qt QML / C++. In my app I create a sqlite database file. This file I want to share with an email programme or messanger in Android? How can I implement such function?

    Thank you for your help.
    BR
    martin

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • msauer751M msauer751

      Hi,
      I write an app in Qt QML / C++. In my app I create a sqlite database file. This file I want to share with an email programme or messanger in Android? How can I implement such function?

      Thank you for your help.
      BR
      martin

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @msauer751 What exactly do you mean? Do you want to send this database file to another application (to, for example, send it as mail attachment)? Or should these other applications use it to read/write data?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      msauer751M 1 Reply Last reply
      0
      • msauer751M msauer751

        Hi,
        I write an app in Qt QML / C++. In my app I create a sqlite database file. This file I want to share with an email programme or messanger in Android? How can I implement such function?

        Thank you for your help.
        BR
        martin

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote last edited by
        #3

        @msauer751 I Don#T know if Qt actually provides apis for this, nowadays. "But back in my days" it didn't and you had to dip into native code to make this work.

        I used
        https://github.com/ekke/ekkesSHAREexample

        as a guideline for my development and I can only recommend it!


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        ekkescornerE 1 Reply Last reply
        3
        • jsulmJ jsulm

          @msauer751 What exactly do you mean? Do you want to send this database file to another application (to, for example, send it as mail attachment)? Or should these other applications use it to read/write data?

          msauer751M Offline
          msauer751M Offline
          msauer751
          wrote last edited by
          #4

          @jsulm
          Yes my app should send this file via email or a messanger.

          1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @msauer751 I Don#T know if Qt actually provides apis for this, nowadays. "But back in my days" it didn't and you had to dip into native code to make this work.

            I used
            https://github.com/ekke/ekkesSHAREexample

            as a guideline for my development and I can only recommend it!

            ekkescornerE Offline
            ekkescornerE Offline
            ekkescorner
            Qt Champions 2016
            wrote last edited by
            #5

            @J.Hilk said in Share files in Qt QML/C++ app in Android:

            I used
            https://github.com/ekke/ekkesSHAREexample

            as a guideline for my development and I can only recommend it!

            unfortunately my app is something outdated
            it's on my todo list when done porting all my customers apps to 6.9 and CMake

            ekke ... Qt Champion 2016 | 2024 ... mobile business apps
            5.15 --> 6.9 https://t1p.de/ekkeChecklist
            QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

            J.HilkJ 1 Reply Last reply
            0
            • ekkescornerE ekkescorner

              @J.Hilk said in Share files in Qt QML/C++ app in Android:

              I used
              https://github.com/ekke/ekkesSHAREexample

              as a guideline for my development and I can only recommend it!

              unfortunately my app is something outdated
              it's on my todo list when done porting all my customers apps to 6.9 and CMake

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote last edited by
              #6

              @ekkescorner I actually had to go the way and port/adjust it for Qt6

              But it's company Software, so I can't readily share it. When I find some downtime I'll fork/branch your example and try to apply my changes to it, if you're ok with that.


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              ekkescornerE 1 Reply Last reply
              0
              • J.HilkJ J.Hilk

                @ekkescorner I actually had to go the way and port/adjust it for Qt6

                But it's company Software, so I can't readily share it. When I find some downtime I'll fork/branch your example and try to apply my changes to it, if you're ok with that.

                ekkescornerE Offline
                ekkescornerE Offline
                ekkescorner
                Qt Champions 2016
                wrote last edited by
                #7

                @J.Hilk thx for the offer... I already did changes - but it's not public yet
                give me some weeks to publish a first raw Qt 6.9 / CMake release
                then you can take a look if I missed something ;-)

                ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                5.15 --> 6.9 https://t1p.de/ekkeChecklist
                QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                1 Reply Last reply
                1

                • Login

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