How to display RGB 565 byte array on the screen

by lohith » Mon, 27 Apr 2009 18:20:56 GMT


Sponsored Links
 Hi,

Can please anyone let me know how to display a raw RGB 565 byte array on the
screen

Thanks.

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



How to display RGB 565 byte array on the screen

by Streets Of Boston » Mon, 27 Apr 2009 22:24:31 GMT


 Take a look at this method on developer.android.com:

Bimtap BitmapFactory.decodeByteArray(byte[] data, int offset, int
length, BitmapFactory.Options opts)

and how to draw a Bitmap on the screen (onDraw; dispatchDraw; Canvas;
etc.)



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


Sponsored Links


Other Threads

1. How do i upload the file from android mobile to public server

Hi all,

I am trying to upload the file from android phone to some public
servers.
kindly guide me how do i do that.


Thanks  & Regards
Sneha

-- 

2. creating a driver application

Hello,

We need to access the USB port on an andriod tablet(version 3.0).A
camera will be connected to the tablet via a usb port and should be
able to receive commands of start and stop from the tablet.

By default the usb is taken as a mass storage device and so we will
not be able to have a 2 way communication with the camera.For this
reason we need to develop a device driver which will run on the tablet
and handle the input  and output communications through the usb
port.We will implement the driver in c language.

We intend to install the driver in the linux kernel.

We need to know how the usb port is referenced on a tablet so that we
implement the same in the c code.Also we need to know how android will
need communicate with the driver.

Please do also mention if there is any other alternative to achieve
the same task.

Regards,
Rahul

-- 

3. Email To field not displaying

4. how to use Cache-Control with http get request?

5. Strange behaviour with RessourceCursorAdapter

6. About Actions in Intent

7. PACKAGE_USAGE_STATS exception