Bharathiraja Perumal
Bharathiraja Perumal

Reputation: 37

Which one is better to access the MySQL in online from Android application? Either RESTful web service or Async Task?

I am developing an Android application where my application uses MySQL as database via PHP. Now I am developing an application with RESTful web service. I want to know which one is better for accessing the database? Either RESTful web service or Async Task?

Please explain with an example.

Upvotes: 0

Views: 53

Answers (1)

sandrooco
sandrooco

Reputation: 8726

I'd go straight REST. It's much easier for error handling and imo a bit easier.

Upvotes: 1

Related Questions