I see a run time error at this line of code
TextView textView = (TextView) findViewById(R.id.textView);
textView.setText(message);
exception I am getting,
error:Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference