09-15-2011 08:27 AM
I want to store my SQLite databse in folder which I have created on my desktop i.e- DatabaseFolder
my code is as following -
URI myURI = URI.create("C:/Documents and Settings/mbhati/Desktop/DatabaseFolder/" + "MyTestDatabase.db");
but it is not creating any database inside my folder (i.e- DatabaseFolder)
I am not getting what is the problem , may be I am not giving proper location of folder wheather I need to add file: before Cocuments and Settings.....
Thanks to All
09-19-2011 04:28 PM
SQLite database need to be stored on the micro SD card or eMMC of the BlackBerry Smartphone. Can you elaborate on what you are trying to achieve?
09-20-2011 05:17 AM
First thing to note is that your BlackBerry is running in a Simulator on the PC, your code does not really know it is running in a PC. So even though you are running on a PC, a Windows file name like:
C:/Documents and Settings/mbhati...
is right out.
You need to use a Blackberry file name and then use the Simulator to 'attach' the SDCard as a directory on your PC.
I do not believe you can direct the eMMC to a specific directory, but you can for the SDCard. So if you want to use a directory on your PC, your file name will look like:
If you must use the eMMC card, then you will need to use
In both cases, the file name you will specify will be as known by the BlackBerry. If you go into Media, and then use the menu, you will find the menu item Explorer, you can use this to look around the directories and cards that your BlackBerry knows about.
05-25-2012 01:30 AM
where is simulator actual memory located? if i download a file from simulator browser where it is store? i want the location of simulator actul memory not SDCARD memory location please help me
05-28-2012 04:33 PM
You can't access files outside of the simulated SDCard outside of the BlackBerry smartphone simulator. That stored data is located in the .dmp files in the simulator directory.