Solved

DatabaseIOException : File System not ready error Blackberry 9700

Posted on 2010-09-15
2
1,574 Views
Last Modified: 2012-05-10
Hi All,

Below is the code i am using for blackberry Rim database connection.

URI uri = URI.create("/store/home/user/" + "sampledatabase");

Database sqliteDB = DatabaseFactory.open(uri);

This code works fine on all blackberry touch devices but it throws the following error on the 9700.

"net.rim.device.api.database.DatabaseIOException: File system not ready".

Any solution?

Many Thanks
Rajalakshmi



0
Comment
Question by:Anupama_2005
2 Comments
 
LVL 12

Expert Comment

by:mattclarified
ID: 33691262
Hi,

The URI string should start with "file:///store/..." rather than just "/store/...". This may be why its not working

M@
0
 

Accepted Solution

by:
Anupama_2005 earned 0 total points
ID: 33715499
Hi,

Thanks. I found solution.  

Different BlackBerry devices support different places to store data depending on the BlackBerry device model.

a) Application storage: file:///system

This storage location is internal to the BlackBerry device. It contains the operating system, the BlackBerry Java Virtual Machine, and an internal file system. Application storage is also called flash memory and on-board memory. Application storage is the only place on a BlackBerry device from which applications can be run. All BlackBerry devices have application storage.

b) Built-in media storage: file:///store

This storage location is an embedded multimedia card called eMMC. It is not removable. A FAT file system is mounted on the built-in media card. Built-in media storage is also called internal media memory and on-board device memory. Built-in media storage is included on some BlackBerry device models.


c) External media card storage: file:///SDCard

This storage location is a microSD card that BlackBerry device users can insert to extend the amount of storage on their devices. It is optional and removable. A FAT file system is mounted on the media card. MicroSD cards are supported on all devices running BlackBerry Device Software 4.2 or later, with the exception of the BlackBerry 8700 Series.

If creating single app to support all device models then programmatically use the above three options to store database.

Thanks & Regards
Rajalakshmi
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question