먼저 Save 는 따로 클래스를 만들어서


인텐드고 호출하는 클래스에서 값을 넘기고 넘겨받은 Save 클래스가 이를 출력을 총해 세이브를 하는 것입니다.


먼저 Save 클래스 문구,


public class Trauma_Save extends Activity{
       
    public void onCreate(Bundle SaveInstanceState) {
        super.onCreate(SaveInstanceState);
       
       
        Intent InSave = new Intent();
        String Str = new String(InSave.getStringExtra("A_0"));
       
        Trauma_DataBase TDB = new Trauma_DataBase();
        TDB.setTrauma_UserData(InSave.getStringExtra("A_0"));
       
        try{
        FileOutputStream Fos = openFileOutput("ExSave.sav", Context.MODE_WORLD_READABLE);
        Fos.write(Str.toString().getBytes());       
        } catch (Exception e) {
            Log.e("Msg", "Not Saves Fucking");
        }
    }

}



이후 Load 클래스는 따로 만들지 않고 그냥 그대로 원클래스에 작성하였는데 계속 예외처리에서 걸리고 있습니다.


이하 Load 부분 코드작성문



        TextView Txv2 = new TextView(this);
        String Str;
        try
        {
//        InputStream Ins = new BufferedInputStream(openFileInput("ExSave.sav"));
//        byte[] by = new byte[Ins.available()];
        InputStream Ins = openFileInput("ExSave.sav");
        InputStreamReader InsR = new InputStreamReader(Ins);
        BufferedReader BFRd = new BufferedReader(InsR);
       
         
//        Str1 = new String(ByteIn);
        Txv2.setText(BFRd.readLine());
        }
        catch(Exception e)
        {
            Log.e("Msg","Not LoadData Fucking");
        }


저 같은 경우 XML를 전혀 만들지 않고 자바안에서 생성하고 만들고 있는데


여하튼 게속 Load부분에서 예외처리가 걸려 캐치부분 문구가 나옵니다.


별의 별 것을 다 해봐고 전혀 문제가 해결되지 않습니다.


부디 제발 도움 부탁드립니다. 정말 부탁드립니다 ㅠ.ㅠㅣㅣㅣ