Share files in Qt QML/C++ app in Android
-
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@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?
-
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@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/ekkesSHAREexampleas a guideline for my development and I can only recommend it!
-
@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?
-
@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/ekkesSHAREexampleas a guideline for my development and I can only recommend it!
@J.Hilk said in Share files in Qt QML/C++ app in Android:
I used
https://github.com/ekke/ekkesSHAREexampleas 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.Hilk said in Share files in Qt QML/C++ app in Android:
I used
https://github.com/ekke/ekkesSHAREexampleas 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@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.
-
@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.
@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 ;-)