Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I call remote API using Phonegap for Android?

How do I do remote API call in Android Apps using Phonegap???

like image 273
Surya Avatar asked Feb 27 '12 11:02

Surya


1 Answers

Just use XmlHttpReqquest to communicate with your server. Here is my stock example that gets a list of tweets from Twitter:

http://simonmacdonald.blogspot.com/2011/12/on-third-day-of-phonegapping-getting.html

like image 177
Simon MacDonald Avatar answered Oct 26 '22 23:10

Simon MacDonald