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 - Problem with BitmapFactory.decodeStream and SD Card

Problem with BitmapFactory.decodeStream and SD Card

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Problem with BitmapFactory.decodeStream and SD Card

Postby pmduque » Fri Nov 19, 2010 3:44 pm

Hi,

I'm reading a Bitmap from the SD Card using BitmapFactory.decodeStream. The problem is that if the SD Card is unmounted the process is killed because has a open file in the SD Card.

How can I prevent this? Can I close the file and keep the Bitmap? How can I do that if I don't have a file reference from BitmapFactory.decodeStream?

Thanks,
Pedro Duque
pmduque
Freshman
Freshman
 
Posts: 5
Joined: Tue Nov 16, 2010 2:40 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests