I am creating a php server side with rest services API, but I don't know how to call function register method from android side.
Here is a link to php with REST API that I use. when using this code.
I am creating a php server side with rest services API, but I don't know how to call function register method from android side.
Here is a link to php with REST API that I use. when using this code.
There are many ways to call web service whether they are restful or other api. Simple way is to use http Post method using asynctask but which is very well known. Here is link where you will know how to consume those web services https://geekjamboree.wordpress.com/2011/11/22/asynctask-call-web-services-in-android/
But I am suggesting to use android third party library for this. There are 4 to 5 libraries available for use but I personally prefer https://github.com/koush/ion. Which is very easy and handle all kind web services.