Skip to main content
Inspiring
Sep 24, 2012 7:52 PM UTC
Question

InvokeEvent.INVOKE re-dispatches when I close the application and I launch by multitask button

Hello,

on my galaxy nexus, Android 4.1, InvokeEvent.INVOKE re-dispatches when I close my application with

NativeApplication.nativeApplication.exit()

and I launch my application with the multi task manager.

When I launch my application with the application icon, I don't have this problem.

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

chris.campbell
Legend
Sep 24, 2012 11:20 PM UTC

Thanks for reporting this, we had a similar bug about InvokeEvent.INVOKE with regards to device orientation but this was fixed in AIR 3.4.  Could you give this release a try if you haven't already?  If it's still a problem, could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

Translate
pol2095Author
Inspiring
Sep 25, 2012 1:28 PM UTC

I'd like to ask everyone affected by this issue to take a minute and vote for the following bug.  It currently has zero votes:

https://bugbase.adobe.com/index.cfm?event=bug&id=3336533

Translate
pol2095Author
Inspiring
Sep 28, 2012 6:36 AM UTC

It isn't a bug, it's the default behavior for android.

<activity android:launchMode="singleTop">

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

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

                    <data android:scheme="mycustomuri"/>

          </intent-filter>

</activity>

the solution is to add android:launchMode="singleTop" in the application descriptor

Translate