Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid device or resource busy - honeycomb
    primarykey
    data
    text
    <p>On the 3.0 honeycomb, I am getting this error when trying to access a file. It does not happen all the time. What causes is that I browse around the market a bit and then I come back to my app. It tries to access a file, and i get this error:</p> <pre><code>Exception caught in com.app.android.activities.Preview$DLTask: /mnt/sdcard/tmp/1304702202502.jpg (Device or resource busy) java.io.FileNotFoundException: /mnt/sdcard/tmp/1304702202502.jpg (Device or resource busy) at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method) at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:239) at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:101) at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:77) at com.app.android.activities.Preview$DLTask.doInBackground(Preview.java:200) at com.app.android.activities.Preview$DLTask.doInBackground(Preview.java:1) at com.app.android.activities.appAsyncTask$2.call(appAsyncTask.java:176) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) at java.util.concurrent.FutureTask.run(FutureTask.java:137) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1081) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574) at java.lang.Thread.run(Thread.java:1020) </code></pre> <p>To get the same code working again after I restart the device, i.e. power off/on.</p> <p>The same code works fine on the android version 7, but at times it crashes on v11.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload