Didn't work... if I only start B and after destroy B without destryoing A,
nothing happens to A.
But looking at TabHost implementation I could see what I was forgetting:
requestFocus!
When I request focus for B, A is automatically paused. To resume it, I start
it again (as it's a single top activi
Just a guess. Try destroying the activity B without destroying activity A.
This may resume the activity A as soon as the activity B is destroyed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
Thanks "Android" :)
But I have a problem. I've tested destroying A and "starting" it again, but
when I do "startActivity()" I get a null window.
Do I need to use a different "id" whenever I start an activity (with the
same intent), even if I pass "false" when I destroying (or rather, pausing)
suc
Yes you can do that.
You can get a LocalActivityManager from the ActivityGroup, and from that
reference you can destroy the respective activities.
actitivitygroup.getLocalActivityManager().destroyActivity(,true);
And Accordingly you can start the other activity
actitivitygroup.getLocalActivityMa
4 matches
Mail list logo