Nobody has any idea? On Jan 30, 1:47 pm, Zsolt Vasvari <[email protected]> wrote: > Hello, been pulling my hair out on this one: > > I have a ContentProvider that I use to send a file via > Intent.createChooser(). > > If I pick eMail or GMail as the app to send vith, it's working fine, > but if I pickBluetooth, it fails with "Unknown file, Failure reason: > Storage issue" > > Sending an image from the Camera app viaBluetoothworks fine. My > phone is the Nexus One. > > I've tried: > > - Added logging statements to all my Content Provider methods. > TheBluetoothsender calls "OpenAssetFile", "OpenFile" and > "GetContentType", in that order, while EMail/GMail only calls OpenFile > and GetContentType. So I suspect a problem with OpenAssetFile > > - I overrode OpenAssetFile so it just calls OpenFile(), but this > doesn't help: > > return new AssetFileDescriptor(openFile(uri, mode), 0, > AssetFileDescriptor.UNKNOWN_LENGTH); > > I also tried the actual length instead of UNKNOWN_LENGTH > > - The file I am sending is about 100k, so the size is not an issue. > > Does somebody have any idea as to the problem, or at least point me to > the source code for theBluetoothsending module, which I couldn't > locate so far. > > Thanks.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

