Hi all, I have a simple question: how I make an activity that is child
of another?

I use this code to start an activity from another:

Intent startIntent = new Intent(MyMainActivity.this,
ChildActivity.class);
startActivity(startIntent);

but on the onCreate method of ChildActivity, if I watch for getParent
() I get null, and if I ask for isChild() I get false,... so what I
miss?

thank you

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to