views:

1281

answers:

0

My question is, is it at all possible to add to the sms attachments options available by any means without rebuilding the source?

I currently am trying to add additional attachment options to the bundled SMS app titled 'messaging' in all current Android builds. When you select 'attach' from the menu, a custom dialog is opened with options to 'add image, video, etc'. Instead of openly requesting to attach different mime types a custom adapter is queried which uses particular apps for particular uses. I know this because I looked at the Android source for: ComposeMessageActivity: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob_plain;f=src/com/android/mms/ui/ComposeMessageActivity.java;hb=HEAD (look for showAddAttachmentDialog). The only available options are in the AttachmentTypeSelectorAdapter.java: http : / / android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob_plain;f=src/com/android/mms/ui/AttachmentTypeSelectorAdapter.java;hb=HEAD.

I have tried the usual approach of registering my application as filtering on the specific mime types and wildcarding it

All:

Same as SMS app:

Thanks guys.