Question
Problem with intent-filters on Android 7 (Nougat)
Hi, I developed an App that opens epub and plain text. When I go to the File Explorer on Android and I try to open an Epub my app appears on the menu. But this only works on Android 5 or 6. When I do it on Android 7 my app isn't there. I tested with Adobe Air SDK 22 and 24 but it didn't work.
This is my activity from the manifest:
| <activity android:excludeFromRecents="false"> | ||
| <intent-filter> | ||
| <action android:name="android.intent.action.MAIN"/> | ||
| <category android:name="android.intent.category.LAUNCHER"/> | ||
| </intent-filter> | ||
| <intent-filter> | ||
| <action android:name="android.intent.action.MAIN"/> | ||
| <action android:name="android.intent.action.VIEW" /> | ||
| <action android:name="android.intent.action.GET_CONTENT" /> | ||
| <action android:name="android.intent.action.SENDTO"/> | ||
| <action android:name="android.intent.action.SEND" /> | ||
| <category android:name="android.intent.category.DEFAULT" /> | ||
| <category android:name="android.intent.category.BROWSABLE" /> | ||
| <category android:name="android.intent.category.OPENABLE"/> | ||
| <category android:name="android.intent.category.LAUNCHER"/> | ||
| <data android:mimeType="text/plain" /> | ||
| <data android:host="" android:scheme="file" /> | ||
| <data android:mimeType="application/epub+zip"/> | ||
| <data android:mimeType="application/l3b+zip"/> | ||
| <data android:mimeType="application/l3m+zip"/> | ||
| </intent-filter> | ||
| <intent-filter> | ||
| <action android:name="android.intent.action.SEND"/> | ||
| <category android:name="android.intent.category.DEFAULT"/> | ||
| <data android:mimeType="text/plain"/> | ||
| </intent-filter> |
</activity>
