If i created a apk library with monodroid. Can i u use this just in Eclispe(Java) and do my rest code in Java ?
Asked
Active
Viewed 173 times
1 Answers
0
In short: no. A DLL compiled from a Mono for Android class library relies on the Mono runtime in order to run it, which wouldn't be present in a normal Java Android application. It is possible to go in the other direction though, and use Java libraries within a Mono for Android app. Xamarin has documentation of how their architecture available here.
That said, in some cases it is possible to access C# code from Java code when you're in the scope of a Mono for Android application. This question/answer has some good details about that.

Community
- 1
- 1

Greg Shackles
- 10,009
- 2
- 29
- 35