public
void saveSDCard(String filename,
String filecontent)throws Exception
{
File file =
new File(Environment.getExternalStorageDirectory(),filename);
FileOutputStream outStream =
new FileOutputStream(file);
outStream.write(filecontent.getBytes());
outStream.flush();
outStream.close();
}
时间: 2024-11-07 14:36:36