02-23-2012 01:36 AM - edited 02-23-2012 01:45 AM
I have given QFile file("logs/mylog.txt");
if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
out << "The magic number is: " << 49 << "\n";
Now how can i actually navigate to the file(mylog.txt) in my playbook or in PC connected via usb.
02-23-2012 01:55 AM - edited 02-23-2012 02:10 AM
PC: via usb/wifi: from Momentics IDE: Select QNX system perspecive > Target File System Navigator > Sandboxes> name of YourApllication (something like com.example.QtApp.someMoreChars)>logs>mylog.txt
and it's not accessible via ordinary mount to PC (via smb protocol)
from playbook - as I know - from your apllication only (i.e. read back your log file).
upd: from PC from cmd-line also possible to use blackberry-deploy -getFile
04-02-2012 05:23 AM - edited 04-02-2012 05:26 AM
I also tried to create a new directory in /accounts/1000/shared which failed. But creating a directory under /accounts/1000/shared/misc worked and I could create many subdirs and files there and access them from Desktop :-)
And the Webbrowser on the Playbook will be your friend by accessing file:///