views:

62

answers:

1

Hi

I'd like to access an Internet database from my app to edit it and read it. Any link I should read or any advise?

Thanks

A: 

The best way to do this is by creating a custom REST service in your web server where the database is located at, probably using PHP or some other server-side scripting program, and the service can respond with XML or JSON data (make sure you authenticate the client as well).

Then from your android application you can request data from that service, again, using a JSON or XML parser.

This is a basic example I found using a simple google search

velazcod