openFileOutput和openFileInput还有FileOutStream与openFileOutput FileOutputStream fos = openFileOutput("",MODE_PRIVATE); fos.write("private".getBytes()); fos.close();