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. ActivityThread.ContextCleanupInfo leaking memory?

Thanks for the interest Matt. Here are some references I found very
interesting regarding memory leaks:

How to import a heap dump from Android into Eclipse's Memory Analyser Tool
(MAT)
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html
Good article on how to fix memory leaks in general:
http://java.dzone.com/news/how-fix-memory-leaks-java
Another one (The whole kohlerm blog is pretty interesting):
http://kohlerm.blogspot.com/2009/02/memory-leaks-are-easy-to-find.html
Romain's blog entry on memory leaks in Android:
http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html

I hope that maybe someone else has an idea about what's going on with my
particular problem.










> 

2. wrong intent getting supplied to OneTimeAlarmReceiver.

> I am using marks' method of alarmreceiver and appservice. I am trying

PendingIntent recycles Intents, in effect. Try specifying
FLAG_UPDATE_CURRENT when you create your PendingIntent.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 

3. wrong intent getting supplied to OneTimeAlarmReceiver.

4. Build error : Undefined reference to ComponentInit

5. How to change device management objects in android device

6. GK:How to Animate the single image in the Gallery

7. Video display not coming on Android1.6 SDK on OMAP3430 board