I would like my application to be able to send and receive files via OBEX on Eclair. We have our own IANA MIME type.
My investigations of the (undocumented) Bluetooth APIs seem to suggest
that Eclair is hard-coded to only allow transfers of images, audio and
video. From the Bluetooth package manifest:
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
<data android:mimeType="audio/*" />
</intent-filter>
...and from the OBEX server itself:
public static final String[] ACCEPTABLE_SHARE_INBOUND_TYPES =
new String[] {
"image/*",
"video/*",
"audio/*",
"text/plain",
"text/html",
};
Is this true? If so, is there any way around this restriction? Our MIME
type is "application/...", so unless we can somehow persuade the system
to handle other MIME types, we're pretty much stuffed.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
signature.asc
Description: OpenPGP digital signature

