This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic