--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Felipe Monteiro de Carvalho
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
> I don't mind using View's to have my controls, but the problem is that
> I need to implement the drawing in native code, not in Java, and I
> need fast pixel access for that.
>
This is exactly what the jnigraphics native library is meant for. It is used to
directly access/modify the pixel data of a Java Bitmap object. This Bitmap
object can in turn be used in View.onDraw(). See "The 'jnigraphics' library" in
section IV of ndk/docs/STABLE-APIS, and bitmap-plasma in ndk/samples/.
--
Olivier