I know I can use android build in email app when I use the intent with
ACTION_SEND, there is no problem for me. The problem comes after I
defined the ACTION_SEND in my AndroidManifest.xml like follows:

<activity android:name=".activity.myActivity">
                <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category
android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/png" />
        </intent-filter>
</activity>

Since I would like to see my own app to be added in the share option
list when user click "share" in the gallery, I have to define the
above <intent-filter> in my AndroidManifest.xml.

After I defined the above configuration in AndroidManifest.xml,
whenever I call "Intent emailIntent = new
Intent(Intent.ACTION_SEND);", my android app will go to call
"myActivity" instead of calling android build in email app.

All of the above is understandable, my question is how to keep my
configuration in AndroidManifest.xml as above (that's keep my app
shown in the share option list when user click "share" in gallery),
MEANWHILE, I can call the android default email app???

-- 
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