raw 폴더 안쪽의 파일을 수정하려고 하는데
try {
bw = new BufferedWriter(new OutputStreamWriter(getResources().openRawResourceFd(R.raw.mydata).createOutputStream()));
bw.write("data");
} catch(IOException e) {
try {
bw.close();
} catch(IOException e1) {
e1.printStackTrace();
}
}finally{
if (bw != null){
try{
bw.flush();
bw.close();
}catch (Exception e){}
}
}
이런식으로 했는데 파일이 수정이 안되네요
어디를 고쳐야 될까요?