BitmapFactory decodeByteArray RGB565 format

by » Thu, 06 Aug 2009 14:27:42 GMT

Sponsored Links
 In a byte[], I am having the image data of a RGB565 image(no header,
only image content)

I used the decodeByteArray with Bitmap.Options as RGB565 decoder.

But the decoding process failed.

Am I missing anything?

Other Threads

1. How to get dimensions of soft keyboard?

My Android app uses a GLSurfaceView so that I can draw to screen
directly from native code. As part of the app, I invoke the Android
softKeyboard when necessary to receive input. I then feed the input to
the native app via JNI.
All this works well...

Now, the problem is that I need to know the dimensions of the soft
keyboard or any other Input Method windows that are displayed so that
I can pan, scroll the native application correctly.

Is it possible to get the dimensions of the soft keyboard?


2. An Extremely Simple Question


I am having issues with my ListView text filter. Here's the problem:

** Upon using the keyboard to search for an item in the list, when
that item is clicked, it always takes them to the actions I have
specified for position 0 as my list is separated based on positions.
Each position launches a different activity.

Is it possible for me to make it so it goes by the string value of
each list item instead of the position? How can I resolve this?


3. OtterBox Commuter for MotoDroid atau Milestone

4. Repost: +bonus - price dropped WTS: HTC Magic 32A

5. HOWTO: run a particular CTS test with DDMS?

6. creating and opening sqlitedb on sdcard for api7

7. xml parsing