Hello, I am getting the following error: >11-15 19:31:57.898: D/dalvikvm(5046): GetMethodID: method not found: >;.createBitmapRGBA:(I;I)Landroid/graphics/Bitmap;
with this code: java: public Bitmap createBitmapRGBA(int w, int h) { return Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); } cpp: msgId = env->GetMethodID(clazz, "createBitmapRGBA", "(I;I)Landroid/ graphics/Bitmap;"); When I replace the arguements of "createBitmapRGBA", for instance to: java: public Bitmap createBitmapRGBA(String dummy) { return null; } cpp: msgId = env->GetMethodID(clazz, "createBitmapRGBA", "(Ljava/lang/ String;)Landroid/graphics/Bitmap;"); then everything works fine. So, I suspect that there is something wrong with "int w, int h" resp. "(I;I"), but what's wrong with this? Regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en