Possible Duplicate:
Remote Database access
I’m developing an app for android which shoult connect itself to a remoe mysql-database.
So far I know what to do to get the app running visually…but how can I transfer the data into a remote database?
What kind of processes have to be developed to get the data into the right shape so that a websserver can translate that and put it into a database?
What do i have to do for getting:
- the right structure of the data
- transfer/translate/design an interface to bring data to a remote server (–> is it possible to use javascript only)?
What do i have to use? Ajax/JASON etc.
Anyone can help me out on this question of architecture?
You can create some RESTful web services to access the mysql database, then the Android app can call the web service to get or post data to the db, use XML or JSON as the format of data.