This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i trap telephone ring in java

 
Dishi Malhotra
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic