안드로이드/File
동일 사용자 아이디로 파일 공유
설.현.아빠
2011. 2. 11. 10:23
byte[] buf = new byte[1024 + 1]; FileInputStream finp = OpenFileInput(filename); FileOutputStream fout = OpenFileOutput(filename, Context.MODE_PRIVATE); while (finp.read(buf) != -1) { new String(buf);}finp.close(); fout.write(String.getBytes()); fout.flush();fout.close();File 입출력