Tuesday, August 13, 2013

[android-developers] Re: java.io.FileNotFoundException: (Device or resource busy)

Hi,

Make sure you are closing the file properly.

See -

http://android-developers.blogspot.com.au/2010/12/saving-data-safely.html

http://stackoverflow.com/questions/4707664/ext4-fsync-situation-unclear-in-android-java

Regards

On Monday, August 12, 2013 4:50:50 PM UTC+10, rahul kaushik wrote:
From my webview ,i download the file in particular folder X at mnt/sdcard/download/X i download the file ,after showing it to the user i delete the files from folder X while doing this process for 1-2 time i get the error

"java.io.FileNotFoundException: (Device or resource busy)"

Please suggest

Thanks

RK

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment