I want to implement rest webservice in android application to do that I create the class from this tutorial: here
but when I clcok on the matched button I have the error
unfortunetly, android app has stopped
I don't have anything in the Logcat then I canno't know from which is the problem
here is the event code:
case R.id.btn_rest_test :
Log.d("method event get", "execite :)");
Rest r = new Rest();
r.get("http://www.cheesejedi.com/rest_services/get_big_cheese.php?puzzle=1");
r.getResponseString();
EditText etdit = (EditText) findViewById(R.id.rest_text);
EditText etdit2 = (EditText) findViewById(R.id.rest_error_text);
etdit.setText(r.getResponseText());
etdit2.setText(r.getError());
break;
how can I achieve that