I am trying to do this task from the past 12 hour, but still am not able to do this…Now I have an sqlite database file named “testDatabase.db” into the sd card as a backup file..Now I want to open the database into the spreadsheet format so that the end user can access the database and store this spreadsheet database into his system and then further for printout and for other purpose..
I studied some of the tutorials in which It was written that u can firstly convert ur database file into XML and then export this file to excel format..
But am not able to do export my databse file into XML format…As according to my requirement I want on button click my database file should be converted into xml format so that the end user can use it.
Thanks..
As far as I know, there is no “one click way” of doing that. You can either create .bat script to export each table into a CSV or html table (commands can be found here), and then import them into excel.
Or you can download a software like sqlite database browser open your .db file and then export each table into a csv file.