Write to external storage *confused*

Debug your blocks, write that value into a label and show it to us...

Also try all 3 different path types... relative, absolut and full, see again Some basics on Android storage system

Taifun