Bitmaps (.bmp) don't show up in 'Pictures' when on SDCard

by Gav » Sun, 08 Mar 2009 00:13:15 GMT


Sponsored Links
 Hi,

For the purpose of testing I need to store some small (20x20px)
bitmaps on the SDCard of the emulator.

If I store the files in jpg format then media scanner picks them up
and I can view them with the stock 'Pictures' application.

When I use the '.bmp' file format as created via the JAI based tool I
am testing, the files do not show up on the phone, a look at the file
explorer shows the files to be there next to their jpg equivalents on
the SDCard under the folder pictures.

I mount the SDCard to add the files if it makes any difference.

I need the files to be lossless ARGB_8888 format, is there something
other than .bmp I can use?

Kind regards,

Gav
--~--~---------~--~----~------------~-------~--~----~



Bitmaps (.bmp) don't show up in 'Pictures' when on SDCard

by clark » Sun, 08 Mar 2009 01:35:57 GMT


 The .png file format employs lossless data compression.  You may give
that a try.  I even through a .png image onto my SD card and it shows
up within the Pictures application just fine.


~Clark



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Intercepting an incoming/outgoing email

I have tried searching everywhere for information on intercepting an
email (both incoming and outgoing) with an Intent, but all I come up
with is how to do it with an SMS message.  Is there a way to do it
with emails?  I've seen "android.intent.extra.EMAIL" mentioned, but
never used in anything to intercept (only to send out).

If anyone can help (with either a push in the right direction or a
small code snippet), that would be greatly appreciated.


An Anonymous Guy

--~--~---------~--~----~------------~-------~--~----~

2. Transparent background overlay of SurfaceView broken on 1.5

Hi,
        Ya, It is true..Transparency is not working with r1 patch, You can
take Android new patch( r2 ).. it will give proper response..






-- 
Thank & Regards
Peeyush Varshney

--~--~---------~--~----~------------~-------~--~----~

3. when I start to compile the Launcher module, lots of erros occurred.

4. How can i implement search functionality in GoogleMaps while using SDK 1.5.

5. my app crashes when switching to landscape mode

6. Q re Android Programming Tutorials a.M Murphy

7. when I start to compile the Launcher module, lots of erros occurred.