I'm trying to access the data/ folder on my device I cant get it to open?..I've rooted my phone and I want to push my database to the database folder on my device so that I can run my developed app, it works fine on the emulator but I want to test it on a real device and its not getting the database.
I created my database with records using SQLite manager then I pushed it using DDMS on emulator. I tried inserting records using code but whenever the app starts it keeps inserting the same records is there a way to insert these record only once?
this is my insert code in DBHelper class:
and then I call it in my main class:
I've done a lot of searching but couldn't find any useful answers. Any help please, its very urgent.
Thanks