Where in the file system do I store application data files?

I need to save some data files for my Blackberry application. These are usually small png files that I download and store locally for performance reasons. I also need to save the XML file locally.

My question is where should these files be stored on a blackberry? Is there such a thing as an applicationโ€™s home folder or settings folder in the Blackberry file system?

What will be the path to such a folder?

This is for blackberry os 4.7 or later.

Thank!

+5
source share
2 answers

( , ), PersistentStore . , (String, Integer ..) [] ( ), PersistentContent. PersistentStore , - - - ( , Hashtable), , .

+2

. blackberry / / (, SecurityException/IOException, ). SDCard/ , . , - , , FileConnection.setHidden(true), , BlackBerry, .

: , , / , - .

+2

All Articles