the imageview object supports which formats images other than png and jpg

by jj » Sat, 31 Jan 2009 17:10:22 GMT

Sponsored Links
 Hello everybody
    The imageview  object supports, which formats of images other than
png and jpg?
 Is it supporting *.jif, *.bmp. *.tiff, etc. to display them on sceen
of activity?

   The picture application(on emulator) shows only *.jpg and *.png
format it does not shows other format images(*.jif, *.bmp, etc).

Will anybody clear me regarding this issue?

thank you

Other Threads

1. HttpPost and byte[] on Android?


I am dealing with http post method on Android. I have successfully
send simple string pairs using HttpClient and HttpPost class with the
NameValuePair as entity. However now I want to send a simple array of
bytes[]. Unfortunately the only entities I have found for the HttpPost
class are the NameValuePair and FileEntity. However my byte[] is not
from a file. Wirting it to a file and then sending by the FileEntity
seems to be pointless and stupid. How can I send this array using
default HttpClient and HttpPost class??


2. problem accessing widget in Preference widgetLayout


I can't seem to get a handle to the embedded widget (via widgetLayout)
in my preference.

My Preference XML is:


                <EditTextPreference android:key="displayname"
                                                android:title="Display Name"
                                                android:summary="Choose a 
display name" />

         <Preference    android:id="@+id/displayimageview"
                        android:title="Display Image"
                        android:summary="Select Display Image"


My widget XML is:

        <LinearLayout xmlns:android="

        <ImageButton android:id="@+id/displayimagebutton"


I'm trying to get a handle on the displayimagebutton to embed an
ImageButton in a preference row.

My java code is:
          View v1 = null;
          v1 = findViewById(R.layout.preferences);
          ImageButton ib = null;
          if (v1 == null)
                  Log.d(SUBSYSTEM_TAG, "v1 = null");
                  ib = (ImageButton)v1.findViewById(;

I can't seem to get a view to the preferences I setup in
preferences.xml.  in my OnCreate() I'm calling:

and this seems to work fine since the preferences layout is
represented on the screen.  However I can't get a View to this layout
as my java code is trying above, so I can find the embedded widget.

I've tried: v1 = findViewById(;
but that just returns null also.

Any ideas on how I can get the ImageButton reference to my

I'm really disappointed on the lack of an Android example for this.


John Roberts


3. How to startup one application programmatically from other application

4. Memory Info

5. How to import individual projects from Android Source Code

6. Qt for Mobile Application Development for Education v1.0 Beta

7. PLEASE HELP: Android kernel patches for Linux 2.6.29-rc3 from Ti