opening another Android app in a 'new window' from Air

前端 未结 2 1051
伪装坚强ぢ
伪装坚强ぢ 2021-01-01 07:22

This is a little involved, so bear with me.

I\'ve got two Android apps - one built in Adobe Air (the \'launcher\') and one downloaded from the google play s

2条回答
  •  不思量自难忘°
    2021-01-01 07:44

    The difference between your two scenarios (scenario 1 remains in a single task, scenario 2 starts a new task) is due to each "target" app's intent-filter manifest definition.

    If you do not require a result from the Intent you can add flags (http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK) like below:

    navigateToURL(new URLRequest('intent:#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=com.magix.camera_mx/com.magix.android.cameramx.main.MainMenu;end'));
    

提交回复
热议问题