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 - another problem with splash screen example

another problem with splash screen example

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

another problem with splash screen example

Postby neel » Mon Feb 18, 2008 5:07 am

hi

1) i have tried copying the same code u have given but keep geting errors

setContentView(R.layout.splashscreen);

in this line i get the error "R.layout.splashscreen" cannot be resolved. if i change it to R.layout.main then thee error goes away.

2) also i have added a png image to the drawable directory. and i have put that image name in
android:src="@drawable/image.png" in the splashscreen.xml file.

i get the message in console of eclipse that ERROR: Failure processing PNG image C:\workspace\Splash\res\drawable\image.png

please help
neel
Developer
Developer
 
Posts: 31
Joined: Fri Feb 15, 2008 5:09 am
Location: San Jose

Top

Re: anotehr error in splash screen example

Postby plusminus » Mon Feb 18, 2008 9:51 am

Hello neel,

referencing resources works without the file ending
:arrow:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. android:src="@drawable/image"
Parsed in 0.013 seconds, using GeSHi 1.0.8.4


The error-message is strange, perhaps try another image... :?

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests