Skip to content

Instantly share code, notes, and snippets.

@YuuichiAkagawa
Created June 1, 2012 10:22
Show Gist options
  • Save YuuichiAkagawa/2851004 to your computer and use it in GitHub Desktop.
Save YuuichiAkagawa/2851004 to your computer and use it in GitHub Desktop.
FileInputStream.available() on Android Accessory read thread
W/System.err( 3981): java.io.IOException: Invalid argument
W/System.err( 3981): at org.apache.harmony.luni.platform.OSFileSystem.ioctlAvailable(Native Method)
W/System.err( 3981): at dalvik.system.BlockGuard$WrappedFileSystem.ioctlAvailable(BlockGuard.java:241)
W/System.err( 3981): at java.io.FileInputStream.available(FileInputStream.java:138)
W/System.err( 3981): at org.ammlab.android.helloadk.HelloADKActivity.run(HelloADKActivity.java:261)
W/System.err( 3981): at java.lang.Thread.run(Thread.java:1019)
@stealthrabbi
Copy link

was this ever resolved?

@YuuichiAkagawa
Copy link
Author

I forgot it. Too old.
Remove in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment