07-12-2012 10:45 AM
IN SQLLIte, I have my database coming with my application.How can I read it? its in the same level as java classes under source pakage
String DB_NAME = "/jaww";
String dbLocation = "";
URI uri = URI.create(dbLocation + DB_NAME);
_db = DatabaseFactory.open(uri);
this gives me error.any helps?
07-12-2012 01:42 PM
this link is really usful! You can go through all the steps and understand how the sqllite work.
if you are looking just to retrieve some tables from a data base, check this out
I hope that can help.
07-12-2012 01:47 PM
The SQLiteDemo that comes with your tooling demonstrates how to copy a SQL database that has been included in your resources to the SD Card. It must be on the SD Card to be used, it can not be used directly from the resources.