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

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

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 - xxx.settext just can't work ??

xxx.settext just can't work ??

Put your problem here if it does not fit any of the other categories.

xxx.settext just can't work ??

Postby kbkbkb » Thu Mar 06, 2008 2:54 pm

my code is very simple

here is it

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.         super.onCreate(icicle);
  2.  
  3.         setContentView(R.layout.main);
  4.  
  5.         messageTextArea = (TextView) findViewById(R.id.textview);
  6.  
  7.         messageTextArea.setText("zzzzz");
Parsed in 0.012 seconds, using GeSHi 1.0.8.4


i don know why the emulator show NullPointerException again and again

plz help me

i did debug line by line

it seems that the problem is occured on this line

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  messageTextArea.setText("zzzzz");
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


why ??

it worked when i had used the first version (r13 ? maybe)

plz help me

regards kbkbkb
kbkbkb
Freshman
Freshman
 
Posts: 6
Joined: Tue Jan 22, 2008 2:17 pm

Top

Layout file

Postby cadlg » Thu Mar 06, 2008 3:38 pm

Could you paste your layout file ?

Thanks,
cadlg
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Feb 20, 2008 12:33 am
Location: Guatemala

Postby snowtiger » Thu Mar 06, 2008 5:52 pm

Could be a problem in your XML, how did u set the id? Be sure to use the command
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. android:id=...
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
snowtiger
Developer
Developer
 
Posts: 34
Joined: Fri Dec 21, 2007 10:44 am

Postby kbkbkb » Fri Mar 07, 2008 3:06 am

thank you!!

i got big eyes...

didn't see the little part

it works now

really appreciate u guys!!


--
regards kbkbkb
kbkbkb
Freshman
Freshman
 
Posts: 6
Joined: Tue Jan 22, 2008 2:17 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests