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
[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 - Conversion for background

Conversion for background

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

Conversion for background

Postby Coralie » Wed Jan 26, 2011 10:44 am

hey guys , Im doing a project and trying to convert

ByteArrayInputStream or byte[] to drawable that will become the wallpaper through the function

layout.setBackgroundDrawable(d);

does anyone knows how can i do that?

Thanks,
Coralie
Coralie
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Jan 25, 2011 4:01 pm

Top

Re: Conversion for background

Postby m1shk4 » Wed Jan 26, 2011 12:05 pm

layout.setBackgroundDrawable(Drawable.createFromStream(stream, name));

solves the problem?
m1shk4
Developer
Developer
 
Posts: 38
Joined: Wed Jan 12, 2011 4:26 pm
Location: UA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 10 guests