D
D
Dima nahkar2014-12-08 11:11:56
JavaScript
Dima nahkar, 2014-12-08 11:11:56

How to communicate with the server in the phonegap application?

How to communicate with the server in the phonegap application? Receive and send data whether it is AJAX or JSON there is an elementary code example &

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Shvedov, 2014-12-08
@mmmaaak

I didn't even change the question text lmgtfy.com/?q=%D0%9A%D0%B0%D0%BA+%D0%B2+phonegap+%...

A
Ali Aliyev, 2014-12-08
@ali_aliev

Just like in a browser. We send a request from the phonegap application to the server, get a JSON response, display the data on the client.
simple example
samcroft.co.uk/2012/posting-data-from-a-phonegap-a...

P
Push Pull, 2014-12-08
@deadbyelpy

XMLHttpRequest, or Jquery's $.ajax() if you haven't heard of the former

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question