Reputation: 1564
I'm working on a project that requires me to run this code in java, but for a brief part of the code I want to access a class that is written in Objective-C. I want to pass parameters through the class then retrieve the data back into my Java file.
So to try to explain it clearer. My Java code needs to be able to access an Objective C file and retrieve data that I can implement in Java. My current IDE is eclipse, because I need to do this for android. Is there any possible way to make this work?
Upvotes: 2
Views: 133
Reputation:
Have a look at JIGS, the Java Interface to GNUStep. http://www.gnustep.it/jigs/
Upvotes: 0
Reputation: 6213
You can use Rococoa, http://code.google.com/p/rococoa/, or you can use JNI
Here is a similar question with answer: Wrapping an existing application with JNI
Upvotes: 1