I am developing an android application and i need to access the server side which is done as web pages in asp.net
below is the web page URL :
theWebPageURL?action=methodName&email=theEmail
i don’t know what methods shall i use to access this URL and send the email parameter to it and get the response.
i searched alot and none worked
can anyone help me please ?
I would recommend reviewing these two similar qustions:
Make an HTTP request with android
How to add parameters to a HTTP GET request in Android?
UPDATE
The below code is a working sample I put together based off of the answers in the two links above; if this helps you, be sure to thank them.
For demonstration, the uri in this sample is being constructed into http://www.google.com/search?q=android.
And, of course, don’t forget to add this to your manifest: