比较从httpclient到String Android的值

I tried to compare http response value from mysql database to a local string but it fails although string are identical. Have i missed something, a hint might helps perhaps.

ResponseHandler<String> handleResponse = new BasicResponseHandler();

String phpEchoVal = httpclient.execute(httppost, handleResponse);

String containEmail = phpEchoVal.toString();

txtInfo = (TextView)findViewById(R.id.txtVInfo);

if ((containEmail.equals("success"))){
  txtInfo.setText(containEmail);
}else {
  txtInfo.setText("Exist");
}

Did you add internet permission to your manifest file?

<uses-permission
        android:name="android.permission.INTERNET" />