SharedPreferences pref = getSharedPreferences("pref", Activity.MODE_PRIVATE); // Shared Preference를 불러옵니다 TextView tv = (TextView)findViewById(R.id.grasstv); // 저장된 값들을 불러옵니다. String text = pref.getString("tv", ""); tv.setText(text); } public void onStop(){ // 어플리케이션이 화면에서 사라질때 super.onStop(); SharedPreferences pref = getSharedPreferences("pref", Activity.MODE_PRIVATE); // UI 상태를 저장합니다. SharedPreferences.Editor editor = pref.edit(); // Editor를 불러옵니다. TextView tv = (TextView)findViewById(R.id.grasstv); // 저장할 값들을 입력합니다 editor.putString("tv", tv.getText().toString()); editor.commit(); ------------------------------------------예를 들어 tamago(알깨기)처럼 10번 터치 하고 나갔다 들어오면 10번 터치한게 그대로 보존 되어 있어야 하는데 숫자는 보존되어 있으나 터치하면 다시 100만 으로 돌아가네요 어떻게 하죠?...