Search code examples
sqlitehtmlblackberry-playbookblackberry-webworksweb-sql

How to find the location of database created using HTML5?


I am developing a playbook app, where I am creating multiple databases. Can I get the location of the file/db created. I need to delete that Database, but I couldn't find a way to drop it, so I am planning to delete the file that it is stored in.


Solution

  • You can't drop SQLite databases, as you have found (hence my suggestion to simply drop all the tables).

    However, if you really must delete the physical db file, I think your best bet is to mount the PlayBook's file system, and then track the file down. This link may help in explaining the file system layout on the PlayBook:

    http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/BlackBerry-PlayBook-File-System-Layout/ta-p/773327