How can I read/write data file from phone
-
Depending on what you need, this may be helpful
http://qt-project.org/doc/qt-5/QStandardPaths.html -
If you're targetting iOS:
-
I found https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html worth a read.
-
I've been putting files of all kinds (txt, qml, jpg) into my app bundle using the qmake support for doing that ( QMAKE_BUNDLE_DATA ) and have had no problem reading them using the usual Qt file tools (apps seem to start up with their CWD set in the bundle).
Haven't touched android myself.
-