I'm just looking to start learning NDK, keeping in mind one specific project:
I want to constantly visualize a changing raster map from the NDK side in order to display it in live wallpaper.
(therefore, I'm not talking about rendering OpenGL texture here, but about rendering in Bitmap)
I did a bit of work on Google and found out that it’s possible to directly manipulate Bitmap pixels. But I also found that the documentation says that this feature is only available with Android 2.2. And I would like to support 2.1 in my live wallpaper.
On the other hand, I found several projects that make similar material - draw something from ndk and show it in live wallpaper. And they work on 2.1. Examples: the wonderful Live Wallpaper video , and I think Shake Them All Live Wallpaper does the same.
So the question is: did I miss some other way to continuously render LW besides directly manipulating Bitmap data? Or something else that I made a mistake? :)
source
share