BlackBerry Tablet OS Question: Download Questions PDF
Where should we save our app data to on the Playbook?
![BlackBerry Tablet OS Interview Answer BlackBerry Tablet OS Interview Question](https://globalguideline.com/public/images/interview/24.png)
Answer:
Files for unrestricted use by the user, and certainly if to be used with other apps, go in documentsDirectory or userDirectory, but there's currently no distinction between them so pick whichever feels best to you.
If you don't mind some PB-specific support, consider adding one of the listed subfolders below the userDirectory, with things like File.userDirectory.resolvePath('photos/myimage.jpg').
App data that is to only be used with your app should be saved in the applicationStorageDirectory
If you don't mind some PB-specific support, consider adding one of the listed subfolders below the userDirectory, with things like File.userDirectory.resolvePath('photos/myimage.jpg').
App data that is to only be used with your app should be saved in the applicationStorageDirectory
Download BlackBerry Tablet OS Interview Questions And Answers
PDF
Previous Question | Next Question |
How to navigate between screens in an app? | Tell us what you know about BlackBerry Tablet OS? |