android login app with php and mysql not working

view story

http://stackoverflow.com – I'm trying to build an android login app with php and mysql. I'm using the code below. When I run the application i always get the message "connection error" on the screen.What should I do to make the code in the try block to work correctly? public void onClick(View v) { httpclient = new DefaultHttpClient() ; httppost=new HttpPost("Http://"); //assign input text to string String username=etUser.getText().toString(); String password=etPass.getText().toString(); try{ na (HowTos)