BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 03-23-2009, 02:56 PM   #1 (permalink)
New Member
Join Date: May 2008
Model: none
Carrier: none
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Questions about BB file system

Please Login to Remove!

After reading all I can find (api docs, forum, kb, guides, web search), I still have lots of questions about the BlackBerry file system:
  1. Are store/ and SDCard/ the name of the internal memory and SD card roots on all BlackBerry devices?
  2. JSR 75 leaves open the issue of whether an application sees virtual roots that are private to itself or whether all applications share the same roots. How does it work on BBs? I've seen many examples where path names start with "/store/home/user/app_name/" or "/SDCard/BlackBerry/app_name/". Is this necessary or can my application just use "/store/" or "/SDCard/" and add the file name? If the former, are there best practices documented anywhere to handle collisions among app names?
  3. If files are visible across applications, are there any security layers available to protect data (I'm thinking about something analogous to how a PersistentObject can be wrapped in a ControlledAccess object when using the PersistentStore) or do we have to roll our own?
  4. I read somewhere that store/ is not available when a device is connected via usb and mass storage is active. Is this and other information like this documented somewhere?
  5. Can IT policies restrict how an application uses FileConnection, particularly for store/ and SDCard/? If so, is there any guidance available about common restrictions that developers should be aware of when writing apps for general use?
  6. What restrictions are there on file names (allowed characters, length, etc.)?

I've posted these questions twice in the support forum at, but no answers. Maybe someone here knows!

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.