0
アクティビティグループで非常に複雑な問題に直面しています。私のアプリケーションではActivityGroupを使用しました。他のアクティビティのナビゲーションで、私が使用:私は、私が活動を変更せずに同じナビゲーションを行います1つのより多くの時間が、それはのエラーを与えた場合、今、他の画面に、この本の意図をナビゲートしたらAndroid ActivityGroupアクティビティインテントナビゲーション
Intent activityIntent = new Intent(v.getContext(), Reschedule.class);
activityIntent.putExtra("dialog_selcted_Appointment_date_time", selected_date +" "+ selected_time);
replaceContentView("activity3", activityIntent);
private void replaceContentView(String id, Intent newIntent) {
View view = this.getLocalActivityManager().startActivity(id,newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)) .getDecorView(); this.setContentView(view);}
私の問題は、次のとおりです。
02-23 18:16:15.200: E/ACRA(2433):
Caused by: android.view.WindowManager$BadTokenException: Unable to add window --
token [email protected] is not valid; is your activity running?