Ok I am learning to use databases in android and have follow several tutorials that have teach me a lot, now I know how to include a prepopulated database and copy it to the app at the moment of installing and opening the app for the first time, showing its content in a list view. I have made the database using SQLite Database Browser, so my question is how can I instead of including this prepopulated database in my app assets folder have it uploaded to my website and getting it from there so I can do updates to the database there and not having to update the app every time the items in the database change?
Can I keep using SQLite Database Browser to create my database?
any comment is greatly appreciated, if you can share a tutorial that can help me getting this accomplish is very welcome too. in advance Thank you.
Ok I am learning to use databases in android and have follow several tutorials
Share
My solution came from YouTube and some tutorials from mimirsoft.
1st I created a database with the mysql wizard,
2nd in phpadmin I created a table with all the information I need in my app
3rd created a php file that querys the data from the database and creates a json string that I can call from my app.
4th in my app I create the call for the php file from ky website, set an adapter and holder for the info to display in my list view.
That’s it! It works, if want to achieve something similar ask and I can provide some code.
Plus you can check the next link where you can find mimirsoft tutorial on this subject.
Part 1
http://m.youtube.com/watch?v=P3CwlckiLTU
And part 2
http://m.youtube.com/watch?v=HTIYt07NDRo