Is there any way to add java android code in xamarin crossplatform pcl code as library or else ?

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 ?

Answers

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    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.

  • KaranveerSinghKaranveerSingh USMember ✭✭

    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 ??

  • AdamMeaneyAdamMeaney USMember ✭✭✭✭✭

    I have not done so, but this describes how to bind a Java library, I assume it could be used for such things.

Sign In or Register to comment.