Hi,
I have created a list activity where each item consist of an Icon and text. I have used this link for the reference.
listactivity_-_functionality-t20.html
In the same activity i have created a thread which is used to modify the list activity items.
But when i try to update the list from thread it give me an exception..
for adding an element in the list. i am using this code.
iconTxt.addItem(new IconifiedText(
"item1", getResources().getDrawable(R.drawable.img)));
setListAdapter(startapp.itla); //when i call this it gives me an exception...
When i try this code from onCreate() function i am able to modify it.But when i use this in thread it gives me an exception.
Can anybody help me in this...
Thanks in Advance.

