Reputation: 480
Example: When I click on attach audio button, I want my app to show in apps suggestion(along with sound recorder).
Upvotes: -3
Views: 64
Reputation: 1175
I assume that you could solve your problem by defining <intent-filter>
s in Manifest File. Your filter for audio files could be something like this:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content"/>
<data android:scheme="file"/>
<data android:mimeType="audio/*"/>
</intent-filter>
For more in-depth knowledge you can refer to Official Android Documentation.
Upvotes: 1