?
Solved

DatabaseIOException : File System not ready error Blackberry 9700

Posted on 2010-09-15
2
Medium Priority
?
1,587 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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