简体   繁体   中英

mono for android Using Native Libraries

I am new to Mono for Android project, and I need to use it in my current project. I want to ask, how can I make some native library on Java for Android and attach it in Mono for Android project on C#? I read some articles on stackoverflow, but didn't find answer for me. And also I read:

http://docs.xamarin.com/Android/Guides/Advanced_Topics/Using_Native_Libraries

and I can't get what "libfoo.so" means and how to create it? What is the *.so extention mean? I would thank for some real experience to share.

A "native" library in this case refers to a library written in C/C++ (you can think of a .so file as a DLL for C/C++). That said, it sounds like you actually want to bind a Java library, rather than a C library. Xamarin provides some tooling that allows you to create bindings for Java libraries, and have a guide available here: Binding a Java Library (.jar)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM