I now have two apps with custom filetypes (extensions .ffx and .tcb). When opened from an attachment within Gmail app, the Intent includes neither the filename nor the originally assigned custom mimetypes (application/freqfinder and application/timecardbuddy).
HOST=(com.google.android.gm.sapi)
SCHEME=content
PATH=/newendian@gmail.com/message_attachment_external/%23thread-f%3A1736258334946004772/%23msg-f%3A1736258334946004772/0.1
FRAGMENT=null
MIME=application/octet-stream
How can I make sure that the proper app is opened? Android doesn't even allow the user to select from multiple apps.
Is there a way to reject an Intent from within the app so that it gets directed properly? Or should I write code to send an explicit Intent from one app to the other?