You found an old example, which stores the file somewhere in an arbitrary directory
Android has been restricted and usually we store files in ASD - application specific directory now...
For more se here Some basics on Android storage system
Just delete global variable strPath and it might work then... if not, let us know...
Taifun

