Skip to main content
Participating Frequently
January 31, 2017
Question

Problem with intent-filters on Android 7 (Nougat)

  • January 31, 2017
  • 1 reply
  • 1570 views

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>

This topic has been closed for replies.

1 reply

svonnidmeg
Participating Frequently
April 28, 2017

Hi,

did you resolved the issue about Nougat series of Android and why doesn't work AIR?