Hi all,

Do I have to set the window token for an embedded Activity when using
ActivityGroup?

Whenever I try displaying a dialog from the embedded Activity I get an error
about its window token. I tried getting the parent's token and setting the
embedded one to that value, but the parent's token was null.

"
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.token = getParent().getWindow().getAttributes().token;
getWindow().setAttributes(lp);
"

Please, help me to solve this problem. It's taking me a long work time :(

Taísa

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to