I have an application that writes important data to the SDCard and encrypts it using AES, which later will be used by a desktop application. I have noticed that if I do not unmo
You should unmount what's using the sdcard in the proper order, for example
umount /mnt/sdcard/.android_secure umount /mnt/sdcard
or, probably synchronizing the buffers with the filesystem would be enough
sync; sync