With a vast array of remote servers exposing their services as accessible APIs, you can create some truly dynamic applications by pulling and pushing data to and from external applications and providers.
We will use the XHR method within the XUI library to request data from a remote server, making an asynchronous call to obtain the results from a search:
ajaxby running the following line:
phonegap create ajax com.myapp.ajax ajax
cordova platform add ios cordova platform add android