0

I have an app that talks to my wamp server using http req and response .

I have set my serveripaddress as xx.xxx.xx.xx:8080/ and am using it in the app , to ping my database .. ( for ex: user login) ..

But , I don't think the communication is taking place after the click activity ...

What other modifications are required ?

HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(serveripaddress.servipaddr+"register.php");

THANKS

Chris Thompson
  • 35,167
  • 12
  • 80
  • 109
Zac
  • 695
  • 1
  • 11
  • 34

1 Answers1

0

You need to call

httpclient.execute(httppost);

to actually send the request.

Check out this SO post for an example of how to work with HTTP operations in Android.

Community
  • 1
  • 1
Chris Thompson
  • 35,167
  • 12
  • 80
  • 109