07-26-2013 08:22 AM
The application uses bb::cascades:ickers::FilePicker to allow the user to browse the file system to choose a file which then, for example, is used for importing information to the application.
For confirmation purposes the application displays the chosen file (path) to the user.
However, the returned file path is absolute e.g. /accounts/1000/shared/documents/file.txt which for an uninformed user is different to the experience in the FilePicker of "Device/documents/file.txt".
I'd prefer to use a system API or macro rather than simply do the replacement myself. I've searched but cannot find a defined programmatic way of retrieving or converting the returned absolute path and the displayed path in FilePicker.
Has anyone come across this?
07-26-2013 08:26 AM
07-26-2013 08:34 AM