Bitmap formats

by Neil » Thu, 21 Jan 2010 23:33:32 GMT

Sponsored Links
 There are several bitmap formats:
ALPHA_8, ARGB_4444, ARGB_8888 and RGB_565
but where are they described?
How am I supposed to know which one to use?



Other Threads

1. dragging objects in MapView

How does one drag and drop markers in a mapview? Locale has
implemented this nicely...



2. Not able to receive Android's Broadcast message .. !


I'm trying to receive Android's Broadcast message say
MEDIA_SCANNER_FINISHED, but not able to do so.
Here is my code snippet:

public class MyBroadcastRec extends BroadcastReceiver
        MyActivityClass receiver;
        private final static String TAG = "MyBroadcastRec";
    MyBroadcastRec(MyActivityClass cntxt)
        receiver = cntxt;
    public void onReceive(Context context, Intent intent)
              String inte = intent.getAction();
              if( inte.equals(Intent.ACTION_MEDIA_SCANNER_FINISHED))
                   receiver.reportMediascannerEvent(); // calling
MyActivityClass' method


I'm instantiating MyBroadcastRec class inside MyActivityClass.
here onReceive() method should be called as soon as MediaScanner
finishes but it's not getting called.
I've tried with both, by mentioning receiver class in manifest.xml
file and by using registerReceiver() function.
Could anybody tell what's wrong with that ?



3. Retrieve Call History

4. calling googlemaps from android

5. call flow through mydroid/hardware/ril/libril/ril.cpp.

6. what is the picture format for Picture.WriteToStream?

7. Call between two emulator