android - When copy files on SDcard and manually eject SDcard after copy is complete last files have size of 0bytes -


in app make file encryption , i'm crypting file in reserve copy first , when process done replace original encrypted copy. use case when data on sdcard encrypting , user manually ejects sdcard data should in save state. have noticed such thing when file on sdcard replaced encrypted copy (process finished) , eject sdcard after when mount sdcard see last file processes have size of 0bytes. main thing see in log before ejection file copy complete , file had size sholud have(1,8mb example). in other apps such native file manager of samsung - files app, copy file on sdcard , after copy complete eject sdcard , size of file 0bytes.

can explain nature of behavior? thank you


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -