Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

satyam90

macrumors regular
Original poster
Jul 30, 2007
242
0
Bangalore, India
I am trying to create a telephone application that will make a call connection via Avaya phone. For that purpose, JTAPI is a good framework that provides required functionality.
For that purpose, I want to make required UI in Cocoa and placing a call etc will be done from JTAPI. Can some body tell me is there any possibility to get this done.
Any examples or prototypes available?
I will be thankful if any body helps me to get this done.
 
I know this use to be definitely possible by using the Cocoa-Java bindings but those have long since been deprecated. I doubt what you're trying to do is possible short of using some form of IPC.
 
I am not familiar with JTAPI, but I'm confident this could be done via JNI. You can access a JVM and make calls into it from JNI in C or C++, both of which you can use in an Objective-C or Objective-C++ program.
Here's the wikipedia article, that has some examples:
http://en.wikipedia.org/wiki/Java_Native_Interface

Here are the sun docs for 6.0:
http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/jniTOC.html

There are docs for each version, but I thought the most recent would probably be the most applicable.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.