[mono-android] Native Library

Jeremy A. Kolb - ARA/NED jkolb at ara.com
Fri Oct 5 20:55:55 UTC 2012


How do I call into the library?  Do I create a Java class for it and then wrap that or do I use the standard .net way?
________________________________________
From: monodroid-bounces at lists.ximian.com [monodroid-bounces at lists.ximian.com] on behalf of Jonathan Pryor [jonp at xamarin.com]
Sent: Friday, October 05, 2012 4:24 PM
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Native Library

On Oct 5, 2012, at 3:00 PM, "Jeremy A. Kolb - ARA/NED" <jkolb at ara.com> wrote:
> I've built a native library with the NDK and I want to use it (I have a .so)... how do I go about doing that?

Add it to your project and set its Build action to AndroidNativeLibrary:

        http://docs.xamarin.com/android/advanced_topics/build_process#Native_Library_Support

Note that the enclosing directory is used to determine the library's ABI.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


More information about the Monodroid mailing list