2

If you try to share an Image with Whatsapp, it will give you a list where you can choose: like Camera,Gallery etc. now i would like to place my app in this list. I Saw some apps like "paint for whatsapp" where this was possible. I tried "android.media.action.IMAGE_CAPTURE" but this only replaces the System-Camera. I want to have a new point in the List. Thanks in advance Jonas

Jonas S.
  • 77
  • 2
  • 6
  • We are going to need a lot more information before we can help you. Do you know what kind of intent filter you need to be in that list? – Austyn Mahoney Apr 24 '12 at 15:51
  • i think it should be one like calling a gallery or getting a picture... thats the question more or less :) – Jonas S. Apr 24 '12 at 16:19

2 Answers2

2

This works for me:

        <intent-filter>
            <action android:name="android.intent.action.PICK" /> 
            <category android:name="android.intent.category.DEFAULT"  /> 
            <data android:mimeType="image/*" />
        </intent-filter>
Aracem
  • 7,227
  • 4
  • 35
  • 72
1

You can create your own Intent-Action or appear in other lists when using different itentfilter configurations, see http://developer.android.com/guide/topics/intents/intents-filters.html for more details.

Thkru
  • 4,218
  • 2
  • 18
  • 37