Hi...
I want to download a file using QHttp or QNetworkAccessManager and parse the file after downloading.
My problem is that, I am able to do this operation on Simulator, however on real device (Nokia N97) this operation is failed.
I have given the path of the downloaded file like:
For parsing the above downloaded file(MyFile.xml) I am using the followings like:file.setFileName("MyFile.xml");
The above codes are working fine only on Simulator, but for real device it's not working.QFile* fileNew = new QFile(":/MyFile.xml");
The file is actually downloaded on device, but I don't know where the file is downloaded on device.
For Simulator the file is downloaded in the current directory. So from there I am able to parse successfully.
Any idea how to resolve this issue.
Thanks....

Reply With Quote

