Highlighted

Problem with intent-filters on Android 7 (Nougat)

Explorer ,
Jan 31, 2017

Copy link to clipboard

Copied

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>

TOPICS
Air beta

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Problem with intent-filters on Android 7 (Nougat)

Explorer ,
Jan 31, 2017

Copy link to clipboard

Copied

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>

TOPICS
Air beta

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 31, 2017 0
New Here ,
Apr 28, 2017

Copy link to clipboard

Copied

Hi,

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 28, 2017 0