how to get child value of expandable listview in android?
===

I want to know......How to get child value of expandable listview using setonItemclick listener method ??
My Code is Given Below but Click event is not wotking properrlly...please Help me...

	mExpandableListView.setOnItemClickListener(new OnItemClickListener() {

			@Override
			public void onItemClick(AdapterView<?> parent, View v, int groupPosition,
					long id) {
				// TODO Auto-generated method stub
				int itemType = ExpandableListView.getPackedPositionType(groupPosition);
				Log.i("item type",""+itemType);
				if ( itemType == ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
		              childPosition = ExpandableListView.getPackedPositionChild(id);
		              groupPosition = ExpandableListView.getPackedPositionGroup(id);
		              Log.i("child",""+ childPosition);
		              Log.i("child Group",""+ groupPosition);
		          } else if(itemType == ExpandableListView.PACKED_POSITION_TYPE_GROUP) {
		              groupPosition = ExpandableListView.getPackedPositionGroup(id);
		              Log.i("Group",""+ groupPosition);
		          } 
			}
		});

Thanks in Advance
