Where should we save our app data to on the Playbook?



Where should we save our app data to on the Playbook?..

Answer / chaitanya

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More BlackBerry OS Interview Questions

Explain the use of RTP and RTCP protocols (Real-Time Transfer Control Protocols). 

1 Answers  


What is Blackberry OS(operating system)?

1 Answers  


What makes blackberry 10 more user-friendly?

1 Answers  


Explain the benefits for it organizations by using blackberry?

1 Answers  


how to access the gps/camera/accelerometor on the simulator? : Blackberry tablet os

1 Answers  


Explain the tethered modem advantages of blackberry technology?

1 Answers  


Describe BlackBerry internet service?

1 Answers  


Explain the sms advantages of blackberry technology?

1 Answers  


How to find out which BlackBerry OS version is on device?

1 Answers  


Explain how nat works?

1 Answers  


What do you know about BlackBerry 7?

1 Answers  


What are the tethered modem advantages of BlackBerry technology?

1 Answers  


Categories