Reputation: 37
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
Reputation: 8726
I'd go straight REST. It's much easier for error handling and imo a bit easier.
Upvotes: 1