ravi
ravi

Reputation: 23

Communication between a web application and an android application

I have a web application built on java and an android application. Both are deployed on different servers. How can i send request from android application to web application? Also, how can i send corresponding response from the web application to android application?

Upvotes: 1

Views: 439

Answers (2)

soCalledDeveloper
soCalledDeveloper

Reputation: 161

This can be done with the help of web API's . You have to create webApi's on your server and, You can use AsyncTask in your android application to communicate with those web Api's.

Upvotes: 1

Pawneshwer Gupta
Pawneshwer Gupta

Reputation: 2342

use REST api's (in JSON format).

Upvotes: 1

Related Questions