0

I am developing an android applicatiion in which i have to connect my app with local host.I have created an local host.I have made entries into database.Problem is that when i click on submit button its shows error in establishing connection/ connection refused,Has anyone done it before.Below is the code which i am firing on button click event .I have done R &d on this.and tried all methods.But could not find the solution

http://pastebin.com/Zq1JuVwW

Waiting for reply

Regards Tushar

1 Answers1

0

dont use locallhost, use like http://10.0.2.2/ kind of url. basically it is working for communicate with server

Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133