Hi,

I need to start a new activity when the user clicks on a child node of
an Expandable List.

This is the code I am using but am getting a null context.

context = getContext();
Intent intent = new Intent(context, activityclassname.class);
startActivity(intent);

The class in which this code is implemented extends
ExpandableListActivity.

How do I go about it? This is very urgent.
Can anyone please help me out with this?

Regards,
Neha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to