Android Question {SOLVED} Get file's MimeType from received Intent ?

peacemaker

Well-Known Member
Licensed User
B4X:
(Intent) Intent { act=android.intent.action.SEND typ=image/* flg=0x1b088001 cmp=peacemaker.elchecks/.main clip={image/* U:content://0@media/external/images/media/12645} (has extras) }
Such Intent's GetData is null. But Extras:
B4X:
Bundle[{more_actions_quick_connect=1, from-myfiles=true, android.intent.extra.STREAM=content://0@media/external/images/media/12645}]
How to get MimeType (that is "typ" in the log)?
 
Last edited:
Top