How do I get my app listed by the WhatsApp Insert button

1

I need my app to appear in the apps list with sounds to share, that we click on that clips from WhatsApp , know that whatsApp button to insert a picture, a sound, etc ... like in image below Iwasusingforthisthefollowingintent-filter

<intent-filter><actionandroid:name="android.intent.action.SEND"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data android:mimeType="audio/*"/>
</intent-filter>

This intent-filter makes my app appear in other lists, less than WhatsApp .

For example, when there is some sound (outside of my app) and I click to share that sound, my app is listed as an option ... But I do not click on the whatsApp clips to add a sound it is not . That left me in doubt, am I doing the right thing? Because I do not want my app to receive any sound, but rather tell WhatsApp that it has sounds to be shared ...

Can anyone help me? Does anyone know what I need to do? I'm new to this and I really need my app listed in WhatsApp's list of possibilities ...

Note - I click on some sound from within my app it can be shared normally via WhatsApp, the only problem is that it is not listed on that blessed clip button ... < p>

I do not know if I can express myself well (as I said I'm new to it), if someone does not understand what I want to do, tell me that I edit the question:)

Thanks!

    
asked by anonymous 24.06.2017 / 18:37

1 answer

0

Try this ...

<intent-filter>
  <action android:name="android.intent.action.GET_CONTENT" />
  <category android:name="android.intent.category.OPENABLE" />
  <category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
    
24.06.2017 / 20:03