android - my app needs to be shown in list of share with option -


this question has answer here:

what need in order app shown in list when user click on share option in of tweeter apps. example, official tweeter app, if user clicks on share tweet option want app shown, can share app. thanks.

you need add intent filter manifest file registering app able handle sharing action intent:

<activity android:name=".yourawesomeactivity"> <intent-filter     android:label="lorem ipsum">     <action android:name="android.intent.action.send" />     <category android:name="android.intent.category.default" />     <data android:mimetype="text/plain" /> </intent-filter> </activity> 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -