11-19-2009 03:22 PM
If I create a sqlite DB during a debug session in the simulator, can I get to that phsical file somewhere on my machine to view the contents of the DB. I'm having some strange behavior and I would like to check the DB before and after a certain point in my application.
11-19-2009 08:50 PM
If I search for "gears on blackberry" on google, I get a result snippet that says: "On the internal media card, if one exists on the BlackBerry device, database files are stored in the /home/user/appdata/rim/gears/ folder." The actual page gives me a 404 error though.
11-19-2009 09:10 PM
If you go to the Database Object from the Gears section of the API document, it lists the paths if the DB is stored on the SD card or built in media card
11-20-2009 09:05 AM
Okay, I've gone into the simulator and set a new directory for the SD card. Next I removed my application from the simulator and then reloaded it. After running my application which creates a DB and several tables... I checked the SD card directory. I did not see any of the mentioned file paths in the documentation.
I do have SD Card/BlackBerry/System
but the system folder is blank.
11-20-2009 09:15 AM
We just checked with the Gears author here at RIM, and it turns out that the internal media card is tried first and then the SD card.. so the documentation is incorrect. We will be updating the documentation shortly