Here, i am trying to call setText method but my application is getting crashed because of some initialization problem.
EditText edittext; SharedPreferences
its a very common mistake .. I should initialize the editText before calling a method on it by
edittext =(EditText)findViewById(R.id.edit_message);