I don't need to develop an app, I just need some advice on how best to do the following, with a script or however is best.
1) Back up a database file /data/data/someapp/databases/database.db
2) Open a database file /data/data/someapp/databases/database.db
3) run some queries
4) close database
That's it - simple. I need to periodically run this script to make some database updates.
Advice appreciated! I know I can use the sqlite3 shell, but I really don't feel like going through the process everytime of bringing up the shell, opening the database and running the sql file. I want to be able to simply have a script I can click on that will do everything.
thanks,
Brian
1) Back up a database file /data/data/someapp/databases/database.db
2) Open a database file /data/data/someapp/databases/database.db
3) run some queries
4) close database
That's it - simple. I need to periodically run this script to make some database updates.
Advice appreciated! I know I can use the sqlite3 shell, but I really don't feel like going through the process everytime of bringing up the shell, opening the database and running the sql file. I want to be able to simply have a script I can click on that will do everything.
thanks,
Brian