I try to write something into my phone memory.
At first, I hard-coded the path as:
myFile = new File(\"/sdcard/\" + txtName.getText() + \".txt\"); >
Remove the .getAbsolutePath() and it will be fine. Environment.getExternalStoreDirectory() will give you the path to wherever the manufacture has set their external storage.