2011-04-12 109 views

回答

2

使用內部存儲,像這樣:

String FILENAME = "hello_file"; 
String string = "hello world!"; 

FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE); 
fos.write(string.getBytes()); 
fos.close(); 
1

檢出Using the Internal Storage以使用專用於您的應用的存儲。

+0

喜rajath我不是你訪問的鏈接... – 2011-04-12 09:14:42

+0

@Chirag,比較遺憾的是 - 更正了鏈接 – rajath 2011-04-12 09:17:17

+0

如果我在內部複製1個GB的文件存儲文件夾然後最新的效果? – 2011-04-12 10:03:58

相關問題