Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - List Activity Updation

List Activity Updation

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

List Activity Updation

Postby Game » Wed Jul 15, 2009 7:24 am

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.
Game
Freshman
Freshman
 
Posts: 2
Joined: Tue Jun 30, 2009 6:01 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests