Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import SQLite database into Android emulator

I've made an android application which needs to connect to a database. I've done making the database. Now my application is not working properly. My question is how can I import my created database into my android application that is running in android emulator?

like image 782
sean Avatar asked Mar 17 '26 09:03

sean


1 Answers

You could use adb push on the command line or DDMS import/export via eclispe to put the db on to your emulator

Here's a more details step by step: http://www.boringmonday.com/jc/2010/11/22/sqlite-database-on-your-android-emulator/

like image 147
SteD Avatar answered Mar 18 '26 21:03

SteD



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!