Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DatabaseIOException : File System not ready error Blackberry 9700

Posted on 2010-09-15
2
Medium Priority
?
1,592 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

618 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