Solved

DatabaseIOException : File System not ready error Blackberry 9700

Posted on 2010-09-15
2
1,572 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you ever wondered if there is a way to get a message delivery receipt without interrogating the BlackBerry log files or using the Resource Kit tools? It is possible using this tip: When troubleshooting whether a BlackBerry is receiving email…
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 …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now