BroadcastReceiver with intent-filter for them?
问题 Her is what I'm trying to accomplish: When user tries to share some text from any app (Like sharing a tweet or a link), my app will appear in the sharing list. If he select my app, some simple code will be run (like showing a Toast) then that's it. No interface or UI is needed. Here is how I did it: AndroidManifest.xml <receiver android:name=".MyBroadcastReceiver" > <intent-filter android:label="select my app"> <action android:name="android.intent.action.SEND" /> <category android:name=