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 ??
I have not done so, but this describes how to bind a Java library, I assume it could be used for such things.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies