I have an idea for a website that will require the use of a database to keep track of user accounts, and other things the user does on the website. I have experience with developing websites with MySQL database. I was hoping to also create an application for the website on Android and iOS. I have some experience with Android development, and I am still learning quite a lot. However, I have not done anything with databases in mobile devices.
What would be the best way to create a mobile applications and a website that the user could use to access their accounts. Would it be best to have a mobile database on the handset and sync it with the database on the server, or would it be best to have the application query the database on the server directly?
Thanks,
Michael