Save entered text in editText via button
问题 i want to save a String 's value that is entenred in EditText using sharedPreferences. and show text when activity starts public class enteredText extends Activity { private Button savenotebutton1; private SharedPreferences savednotes; private EditText editText1; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.x1); savenotebutton1 = (Button) findViewById(R.id.savenotebutton1); editText1 = (EditText) findViewById(R.id