Possible Duplicate:
Getting remote database data into local database in android
I am working on android application. I want to access the data from remote MSSQL Database and store it in loc开发者_开发技巧al sqlite database. Can we get the data using php scripts. Please give me some idea regarding this. For this I will be thankful to you.
Thanks,
Create Web Service on the remote machine using PHP. Return the data to the phone formatted in XML, JSON and so on. On the phone create AsyncTask that connects to this service, downloads the data, parses it and stores it in sqlite.
精彩评论