We do today is
There are two main interface text boxes, two buttons, as in the following image
// This is the address of my coolpad memory card
File file = new File("/storage/sdcard1/liyan.txt");
// This is an internal storage address
String = sdpath Environment.getExternalStorageDirectory () getPath ().;
File file = new File("/storage/emulated/0/liyan.txt");