开发者

How to blit an ever-varying int array at animation speed to the screen in Android

I have a Java app that depends on 开发者_如何学JAVAMemoryImageSource with Image to copy the contents of an int array of changing RGBA data to a window at animation speed (~20fps). I'm trying to port this app to Android. What would be the closest equivalent to this in Android's API? If it helps explain, i used *DIBSection*s in WIndows to do the same thing.


It would be better to use android's 2D Graphics library to draw an animated image. I think making the RGBA data a string, and then making it a color drawable, which is animated using an animation drawable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜