• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Problem with intent-filters on Android 7 (Nougat)

Explorer ,
Jan 31, 2017 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.5K

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
community guidelines
New Here ,
Apr 28, 2017 Apr 28, 2017

Copy link to clipboard

Copied

LATEST

Hi,

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

Votes

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
community guidelines