Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6927103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:00:18+00:00 2026-05-27T11:00:18+00:00

What intent is fired when the user tries to add an attachment to an

  • 0

What intent is fired when the user tries to add an attachment to an SMS/MMS message? I tried these and none of them work:

GET_CONTENT with DEFAULT category and “/” mimeType
PICK with DEFAULT category and “/” mimeType

I also tried the above with categories OPENABLE and BROWSABLE.

I can’t find this documented ANYWHERE. It doesn’t seem to be the same intent as the email attachment filter.

Just to clarify, I’m talking about adding my app as an option in the dialog that appears when the user tries to attach something to an SMS or MMS message.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:00:19+00:00Added an answer on May 27, 2026 at 11:00 am

    Normally user do this to add picture to MMS:

    Intent sendIntent = new Intent(Intent.ACTION_SEND); 
    sendIntent.putExtra("sms_body", "some text"); 
    sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
    sendIntent.setType("image/png");
    

    So, you should register your activity for ACTION_SEND action.

    You can also filter on intents that have image attached via mime="image/png" filter:

    <intent-filter android:icon="drawable resource"
               android:label="string resource"
               android:priority="integer" >
        <action android:name="ACTION_SEND" />
        <data android:mimeType="image/png"/>
    </intent-filter>
    

    Update:

    To see how MMS app adds attachments see this code: http://www.google.com/codesearch#cZwlSNS7aEw/packages/apps/Mms/src/com/android/mms/ui/ComposeMessageActivity.java&exact_package=android&q=AttachmentTypeSelectorAdapter&type=cs&l=2415

    In most cases your app needs to register ACTION_GET_CONTENT action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an intent that is fired when a user unlocks their screen? I
An intent for an Activity (RluSvcMenu) is fired from a Service when a user
How to use intent to prompt user to choose finish action with to choosing
In my activity, on user's request for preferences screen, I call: startActivity(new Intent(this, Preferences.class));
I user sets an alarm it will need to send off an intent to
What am I doing: My main intent is to enable user friendly text to
I tried the following code to restart my activity when the user attempts to
My application relies on the intent ACTION_USER_PRESENT being fired, and so I set up
I've got Activity A which fires up the Camera intent via: Intent intent =
I've run into this issue when trying to fire up a camera intent like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.