[mono-android] Help with .so and java source

Jonathan Pryor jonp at xamarin.com
Sat Feb 18 15:39:36 UTC 2012


On Feb 18, 2012, at 9:11 AM, Goncalo Oliveira wrote:
> I tried the dllimport route, and I managed to invoke a few methods. Do you believe this way is better than using jni?

Yes, DllImport will be more efficient than using JNI. It'll also provide a degree of portability with other .NET platforms (assuming they provide the same C API).

 - Jon



More information about the Monodroid mailing list