I have one android application to be made.
In the Registration process i have to fill in two fields
- Phone number
- Name
Along with these two fields i have to also send my deviceid, current time and OS version dynamically.
How can i do so?
My Web Service is
http://frapp.badoniya.com/webservices/register.php?username=Vijay%20&deviceid=12345&mobile=98XXXXXXXX&platform=Android&os_version=4.0
Please give me a step wise solution.
Because i am very new in programming.
Use an AsyncTask to achieve what you are looking for. Here are few examples on how to use an AsyncTask, Send a GET request and Sending a POST request. For this scenario you must send a GET request.
GET Request
Example 1
Example 2
POST Request
Example 1
AsyncTask
Example 1