I am creating an app which shows a list from database entries . The user can read or update the initial entries but cannot insert any entries. How can insert values in database without having this feature on the working app ( limited to the developer ) ?
Asked
Active
Viewed 26 times
1 Answers
0
- You must have rooted android device with the app installed
- Go to location :
/data/data/<application_package_name>/databases
using any tool (you can do that on Android studio) you can find the database there - download it to your local machine
- download SQLite server and run it on your local machine
- copy the database to the SQLite server location
- On the SQLite folder open command prompt (if you are on windows) and type sqlite3 YOUR_DB.db you can add any entry using SQL commands.
- replace the old database with modified one

Ahmed Abdelazim
- 717
- 7
- 14