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

how to test an orientation change on the simulator? : Blackberry tablet os

0 Answers  


Explain the features of blackberry?

0 Answers  


Explain the concept of CDMA. 

1 Answers  


Explain the benefits for it organizations by using blackberry?

0 Answers  


What is the Domain Name System (DNS)? What are the advantages of it?

0 Answers  






What are the requirements for the icon and screenshots?

0 Answers  


Explain the use of Internet Control Message Protocol (ICMP)?

0 Answers  


sap bw online classes

1 Answers   SAP Labs,


Explain rsvp. How does it work?

0 Answers  


Can we send end users a message to renew or re-purchase an application?

0 Answers  


What are the wireless internet advantages of BlackBerry technology?

1 Answers  


Once an application has been submitted, can I make changes to my submission?

0 Answers  


Categories