I am making an Android application that communicates with a remote server database and exchanges data with each other, passing a JSON object to and from.
I need to know how to write such a service on my server (preferably in PHP), to which the android application can make a request, and when the request is received, the server processes and creates a JSON object and transfers it to the Android application.
Also, I need to know when this service starts on the server, on WHICH will the android application url make a request?
For example, if the android application needs to request to break the data sample for the parameters: name: Apple Location: USA, then I think the Android application will have to request a server in the form: www.example.com? name = 'Apple "& location =' US
So how to make such a service on a remote server?
Thanks in advance!
source share