将数据保存在外部存储器上 /* Checks if external storage is available for read and write */ public boolean isExternalStorageWritable() { String state = Environment.getExternalStorageState(); if (Environment.MEDIA_MOUNTED.equals(state)) { return true; } return fals…
public class DataActivity extends Activity { private EditText filenameText; private EditText contentText; private TextView resultView; private static final String TAG = "DataActivity"; /** Called when the activity is first created. */ @Override…