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

Suppose I am trying to sign in to my blackberry internet service account, but I am getting this error message: “the user id and password provided are invalid. Please re-enter your user id and password and try again.” What should I do?

0 Answers  


What are the instant messaging advantages of BlackBerry technology?

1 Answers  


Explain circuit level gateway?

0 Answers  


Explain the features of blackberry?

0 Answers  


What are the organizer advantages of BlackBerry technology?

1 Answers  






What is Blackberry technology?

0 Answers  


What are the advantages of blackberry technology?

0 Answers  


Explain the sms advantages of blackberry technology?

0 Answers  


What billing models are supported on BlackBerry App World?

0 Answers  


What are the Email advantages of BlackBerry technology?

1 Answers  


Which cpu used in blackberry technology?

0 Answers  


How to access the GPS/Camera/Accelerometor on the simulator?

1 Answers  


Categories