2009/5/22 Neha <[email protected]>

>
> 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);

        Intent fileViewActivity = new Intent(this, FileView.class);
        FileViewActivity.putExtra("file",mFileName);
Try this kindaa approach
and mentioning in activity should work

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


-- 
Cheers
(: Naveen Krishna Ch :)

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