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?