Re: [mono-android] JniEnv problem

2012-03-20 Thread James Burton
I used it. Get the right format and it will spit out the exact JNI parameter format for you though. Regards, James Burton From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Hänke, Maik Sent: 20 March 2012 2:11 PM To: monodroid@lists.ximian.com Su

Re: [mono-android] JniEnv problem

2012-03-20 Thread Andrew Sinclair
Cheers, Andy -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 20 March 2012 15:07 To: Discussions related to Mono for Android Subject: Re: [mono-android] JniEnv problem On Mar 20, 2012, at 10:10 AM, Hä

Re: [mono-android] JniEnv problem

2012-03-20 Thread Jonathan Pryor
On Mar 20, 2012, at 10:10 AM, Hänke, Maik wrote: I suspect that the problem is that your native method wants `int lIdentifier`: > public static native int Msg_UpdateOptions(int lIdentifier, boolean bEnabled, > boolean bQueue, String functionName, int convention, Object callBackObj); > > I impo

[mono-android] JniEnv problem

2012-03-20 Thread Hänke , Maik
Hi, I try to use a 3rd party library with JNI. I have the following java method header: public static native int Msg_UpdateOptions(int lIdentifier, boolean bEnabled, boolean bQueue, String functionName, int convention, Object callBackObj); I import the method with this code: public