My app is about spaghetti, and it should allow you to share any text/plain
content provided it's about spaghetti. So I need an intent-filter that accepts only such content.
In case it helps, these are example spaghetti:
Unfortunately, I only found a way to accept text/plain
content, but I couldn't find anything in the docs to filter via the text itself.
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
Is this possible at all? Workarounds are welcome.