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

Android fullscreen disabled when intent-filter added

Explorer ,
Jun 02, 2015 Jun 02, 2015

Hi, I want to launch my Android Air app whenever I it receives a custom url scheme.

In order to do that, I add the next text to the manifest

<android>
  <manifestAdditions>
   <![CDATA[

  <manifest android:installLocation="auto">

  <uses-permission android:name="android.permission.INTERNET"/>

  <application android:enabled="true">

       <activity android:name=".AppEntry">

            <intent-filter>

                 <action android:name="android.intent.action.VIEW" />

                 <category android:name="android.intent.category.DEFAULT" />

                 <category android:name="android.intent.category.BROWSABLE"/>

                 <data android:scheme="testScheme"/>

             </intent-filter>

       </activity>

  </application>

 

 

  </manifest>

  ]]>

   </manifestAdditions>
</android>




It works fine (testScheme://anything opens the app) BUT the autoOrients and fullScreen tags are ignored, I'm seeing the top bar of the application.


Screenshot_2015-06-03-08-49-55.png



As you see, the app is a basic one. Just adding the intent-filter breaks everything.


Do you know where can be the problem? should I report a bug?


thanks!

TOPICS
Development
508
Translate
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

correct answers 1 Correct answer

Explorer , Jun 03, 2015 Jun 03, 2015

Ok, solved it

The problem appeared because .AppEntry should not be called directly.

This solved the issue

<application android:enabled="true">

     <activity>

            <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.VIEW" />

                 <category android:name="android.in

...
Translate
Explorer ,
Jun 03, 2015 Jun 03, 2015
LATEST

Ok, solved it

The problem appeared because .AppEntry should not be called directly.

This solved the issue

<application android:enabled="true">

     <activity>

            <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.VIEW" />

                 <category android:name="android.intent.category.DEFAULT" />

                 <category android:name="android.intent.category.BROWSABLE"/>

                 <data android:scheme="testScheme"/>

            </intent-filter>

     </activity>

  </application>

Translate
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