aspose file tools*
The moose likes Beginning Java and the fly likes How can i trap telephone ring in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How can i trap telephone ring in java" Watch "How can i trap telephone ring in java" New topic
Author

How can i trap telephone ring in java

Dishi Malhotra
Greenhorn

Joined: Dec 13, 2000
Posts: 22
hello to all
plz tell me that in Visual Basic there is TAPI api and some controls to make software for the telephone online service plz tell me that how can i make in java
what should i use to trap telephone ring through modem
and i want to connect the database of the computer to telephone so that the customer can enquiry themselves through telephone plzzzz help me
thanx
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Visual Basic has the luxery (and limitation) that it KNOWS you are running a windows environment on a PC. Therefore it can deal with the operating specific things like how ringing phones are handled.
I would expect that you need to use some JNI here. Perhaps use the Visual Basic stuff (or C++) to create a native method and blend it in with the java stuff using a Native interface.
here is a description. http://developer.java.sun.com/developer/Books/advancedprogramming/


"JavaRanch, where the deer and the Certified play" - David O'Meara
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I have heard of a javax.telephony API... perhaps it could help in this case, perhaps not... I don't know enough about this stuff personally...
-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
COOL !!!
The things you learn at JavaRanch!!!
This is a FAQ from Sun:
http://java.sun.com/products/jtapi/faq.html
and here is the API for it: http://java.sun.com/products/jtapi/jtapi-1.2/packages.html
 
wood burning stoves
 
subject: How can i trap telephone ring in java