• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Gallery App and MIME types

jonbanjo

Well-Known Member
My app (jfcupsprint) checks the android reported (intent.getType()) mime type against the mime types cups says the printer supports. I've just noticed a problem when trying to send jobs to my app from Gallery on my Acer A200 tablet (running Android 4.0.3). The mime type of images are being reported to my app as "image/*" rather than for example "image/jpeg". This results in my app popping up an "unsupported mime type" dialogue.

The problem does not exist if I use Gallery on my Galaxy Ace 2 (running Android 2.36) phone or from the ADT emulater nor does it exist if I print from ESFileExplorer's ImageViewer on my tablet. At the moment, it looks as if it is confined to the version of Gallery on my tablet.

Can anyone advise whether this is a bug in certain versions of Gallery or perhaps (and I hope not) some new intended behaviour?
 
Back
Top Bottom