The app crashes when i click on list item. Actually this listview resides in a tab which is in another tab of a fragment.
It could be the nesting that is the problem, or the starting of the activity. So let's just try and isolate the cause - in your click handler, instead of creating the intent and starting the activity, just do nothing. If that doesn't crash, construct the intent as before (but don't start the activity yet). If that is OK, pop up a message with Toast after creating the intent (so we are hopefully taking the focus away from the tab layout briefly).
If all of that is OK, try creating a dummy activity of your own with a button, and have the intent use *that* class (and start the activity) - so we start an activity but it's a small, harmless(!) one of your own.
Tell us if any of those steps still causes a crash, or if all of it works OK.
-- 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

