Solved How to read/write "/data/data/com.my.app/files/<file>" android by c++ in qt
-
Hi all,
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++?
My info:
Qt 5.14
NDK: 20rThanks.
-
You should do it as you would with any other file, but you should not hard code this path. You should use QStandardPaths::writableLocation().
-
Hi @Leonardo,
It worked, thank you so much