Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I somehow use C# code or C# library in java android project?

Tags:

java

c#

android

I have some useful code written in C# and I want to use it in my android app. Can I use it directly, or it is nesessary to rewrite it on Java?

like image 914
TpoM6oH Avatar asked Oct 10 '12 14:10

TpoM6oH


1 Answers

You will need to rewrite it. Or Run your C# code as a web service (WCF or Web API) and have your java application talk to the web service

like image 198
twaldron Avatar answered Nov 15 '22 08:11

twaldron