Why are you using a hard-coded path? There's no guaranty an other device will use the same directory structure. If you read the
link I mentioned, you'll find the correct way.
1. Call openFileOutput() with the name of the file and the operating mode. This returns a FileOutputStream.
2. Write to the file with write().
3. Close the stream with close().
Easy does it, let the system figure out where to put the file.