On Aug 23, 2012, at 1:38 AM, technohead <[email protected]> wrote:
> I seem to have trouble getting this to work. In particular, I am unable to
> the get a reference to the constructor via :
>
> _methodIdCtor = JNIEnv.GetMethodID(_class_ref, "<init>", "()V");
>
> which results in the error: Java.Lang.NoSuchMethodError.
Does that constructor actually exist? Is the type a nested type? What does
`javap` print for the type?
> Any ideas, or better yet, does anybody have a working project?
SanityTests:
https://github.com/xamarin/monodroid-samples/tree/master/SanityTests/
Java Type:
https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/Adder.java
Instantiation via JNI:
https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/Hello.cs#L652
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid