Hello, I want to add some java code which is written in android studio for android in my cross platform application . Anyone could suggest me how can i do this ?
Not going to happen. It will work for your Android project, but you're not going to make your Android java code run on iOS or UWP. If it were that easy/possible then we wouldn't have a need for the mono framework and Xamarin wouldn't exist.
See i am asking we can call that code only at android platforms in xamarin forms through dependency and add that java code to only droid project ?? is it possible or not ??
Answers
Not going to happen. It will work for your Android project, but you're not going to make your Android java code run on iOS or UWP. If it were that easy/possible then we wouldn't have a need for the mono framework and Xamarin wouldn't exist.
See i am asking we can call that code only at android platforms in xamarin forms through dependency and add that java code to only droid project ?? is it possible or not ??
I have not done so, but this describes how to bind a Java library, I assume it could be used for such things.