Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is it possible to add ios codes to java platforms?
If yes, how?

What I have tried:

I tried to find answer from G, but no luck
Posted
Updated 21-Jun-16 18:11pm

1 solution

Yes, via JNI:
Java Native Interface — Wikipedia, the free encyclopedia,
Java Native Interface Specification Contents,
JNI APIs and Developer Guides.

I must note that, from my experience, iOS is more hostile to "foreigners", so even the use of cross-platform code is more difficult, and interfacing of cross-platform code with the OS can be even more difficult. One aspect of this difficulty is a very different programming model based on Objective-C.

See also this open-source product: GitHub - dropbox/djinni: A tool for generating cross-language type declarations and interface bindings..

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900