hi all,
i am facing very complecated issue with Activity Group, in my
application i have used ActivityGroup and with other activity
navigation i used :
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);}
now my issue is, once i navigate on the other screen this this intent
now if one more time i will make the same navigation without changing
the activity then it gives an error of:
02-23 18:16:15.200: E/ACRA(2433):
Caused by: android.view.WindowManager$BadTokenException: Unable to
add window --
token android.app.LocalActivityManager
$LocalActivityRecord@44f04458 is not valid; is your activity running?
so can anyone give me the solution for this issue??
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en