Reputation: 11
I want to use mySql Database from my site to create an android app, what is the best way to do this?
I think to use my database local on my computer and after i finished to programing the app, connect to the real database.
how to export the real database? with phpMyAdmin? or another way?
Thanks a lot.
Upvotes: 1
Views: 835
Reputation: 4851
If you want to work import your current DB directly I don't think that it's a good idea. Android works only with SQLite database. Moreover you should implement Android specific logic to make it work in your app.
The best choice I think, it's access your data via HTTP from REST service on your site where you can easily communicate with MySql db.
Upvotes: 2