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

by Gavin Aiken » Sun, 08 Mar 2009 18:10:15 GMT


Sponsored Links
 Thanks clark, I wasn't aware png was lossless, I changed the format and it
all works fine!

Cheers,

Gav






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



Other Threads

1. How to create a non-default style widget programmatically

Hi All,

In ApiDemo, there is a progressBar demo. It creates a horizontal
progress bar with a xml.

    <ProgressBar android:id="@+id/progress_horizontal"
        style="?android:attr/progressBarStyleHorizontal"
        android:layout_width="200dip"
        android:layout_height="wrap_content"
        android:max="100"
        android:progress="50"
        android:secondaryProgress="75" />

But how to create one programmatically?
If just new ProgressBar(fContext), it is Default ProgressBar style.

Please help me. Thanks a lot in advance.
(*^__^*)
--~--~---------~--~----~------------~-------~--~----~

2. How to share files & shareUserId

Hi,

I questioning about the shareUserId property and the best approach
to share files among applications (around 1Mo compressed).

More particularly, I interested to know what types of files are
covered with this flag, and which use cases are supported?
For example, does this flag allow an application M to access a file of
an application A:

-       located among its source code (i.e. that can be access from the
latter with getClass().getResourceAsStream(name) code) ?
-       located in its res/raw directory (i.e. that can be access from the
latter with the getResources().openRawResource(getResources
().getIndentifier(name, type, package)).
-       located in its assets directory
-       located anywhere else (to be determined)

In fact, even if the activity M is started by the activity A, the use
of the extras of the Intent is not acceptable because of the size of
the files.

Finally, I read that another way to share files is to use a
specialization of the class android.content.ContentProvider. Using
this class with the appropriate permissions (Is it the shareUserId
property?), would allow the application A to copy all its resource
files into a directory (with the Uri: content://) and thus access them
from M. But this approach would result in duplicating those resources
files. So, is there a way to avoid this?

Thanks for your help.

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

3. import org.apache.commons.httpclient.HttpClient library error

4. device orientation algorithm code

5. accelerometer devide orientation code

6. Location updates not coming through

7. how to add new mimetype FLV to android media player