2017-06-07 6 views
0

私はChromeカスタムタブを使ってウェブビューを表示しています:すべてうまくいきます。Chrome私の活動を殺すカスタムタブタブ

ユーザーが「閉じる」ボタンをクリックすると、タブを起動したアクティビティは復活せず、Androidの「メイン画面」だけが表示されます。

発射の意図がこのように設定されています。

CustomTabsHelper.AddKeepAliveExtra(ParentActivity, customTabsIntent.Intent); 

は打ち上げの活動は、マニフェストで、この定義があります:

<activity android:label="StartupView" android:noHistory="true" android:screenOrientation="portrait" android:name="md533c5c955946a288d55ba44dbb1f39685.StartupView"> 
     <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="jonathanantoinetvstandroid" /> 
     </intent-filter> 
</activity> 

あなたは私を助けることができます:)?

答えて

0

私は直面していた問題を把握しました。私は「起動アクティビティ」でアンドロイド:noHistory = "true"を設定していました。したがって、必ずfalseに設定してください。

関連する問題