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 - Load bitmap resource

Load bitmap resource

All your problems with Audio, Video and Images.

Load bitmap resource

Postby Maguelo » Sat Mar 20, 2010 10:49 pm

Hello everybody,

I am creating a game and I'm trying to develop a Tile based map.
The problem that I've got is that when loading the tiles bitmap which is a 48x24 160ppp .png using this code:

mBitmap = BitmapFactory.decodeResource(context.getResources(), imageId);

the resulting mBitmap object dimensions are 32x16...

Why am I doing wrong?

PS: the AVD emulator that I'm using is configured to hw.lc.density = 160

Thaxs
Maguelo
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Mar 20, 2010 10:30 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests