Hi,

I have some (x,y) at native layer, I want to create an interface in
native that will draw these points.

The architecture which I am following :

1) I have an native method declaration , "draw(JNIEnv *env, jobject
thiz, jobject canv, jobject pa);"
2) I load shared lib in my activity and define calling declaration for
native lib
     "static native int draw( Canvas can, Paint p);"
3) This native method finally I call from my Android view class
onDraw()
      MyActivity.draw(canvas, paint);


now here suggest me what and how I should do in draw(....) of native
method.

thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to