sd card를 마운트 시키고

읽는 부분은 성공했습니다^^;


근데 쓰는 부분이 안되더군요...

자꾸 file not found 에러가 뜨네요.

파일 이름 이나 경로 문제일까요?? 조언부탁드립니다.


코드는 다음과 같습니다.

public void saveFile()
    {
     try{
      FileOutputStream fos = new FileOutputStream("/sdcard/note.txt");
      fos.write(editor.getText().toString().getBytes());
      fos.close();
     }
     catch(java.io.FileNotFoundException e){
      Toast.makeText(this, "FileNotFound", 2000).show();
     }
     catch(Throwable t)
     {
      Toast.makeText(this, "error : " + t.toString(), 2000).show();
     }
    }