Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to read/write "/data/data/com.my.app/files/<file>" android by c++ in qt
Quang Phu last edited by Quang Phu
My android app need to read/write file in
/data/data/com.my.app/files/(as I know this is current folder of android app)
So how can I do it in Qt by C++?
Leonardo last edited by
You should do it as you would with any other file, but you should not hard code this path. You should use QStandardPaths::writableLocation().
Quang Phu last edited by
It worked, thank you so much