I work currently on an Android application that read file with a
custom extension.
One of the mandatory features, is that the app must be proposed by
gmail when the user receive a mail with the attachment .ourextension.
I did some research, and found that gmail client on Android doesn't
rely on the extension, because in the data of the launched intent the
file proposed has no extension. It only rely on the mime-type given by
the mail client.
The problem is that our custom file are not detected the same way
between mail clients. For example, if I send to myself with the gmail
webpage our custom file, the mime-type is detect as application/octet-
stream. If a friend of mine send with apple mail desktop software, it
is detected as a text/xml (which would be nice). And on another mail
client, Evolution, the mime-type is text/plain...
Our application can't handle all those types ! Otherwise, it would be
proposed for every type of attachment...
Is there any solution for this ?
If I'm not posting on the right place (because it is more a gmail
client related problem), can you tell me where to post ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to