I'm familiar with C# projects, did cross platform development with Xamarin before.
I'm trying to reuse a .so library in a visual studio cross platform android project (Mono C#)? Is this possible?
Don't even know where to start. Any suggestions welcome.
Thanks in advance.
Yes, it is possible. With Xamarin.Android, you can bundle native libraries into the
To actually call the code, you need to create a
DllImport function declaration for the existing code to invoke. Everything else is handled by the runtime for you.
[DllImport("yourlib.so")] private static extern int someMethod();