Opening Skype from java
I am implementing a system for touchscreens in java that nee开发者_运维百科ds to be able to call up skype, how can I go from a fullscreen java app to having skype open, then closing the skype window and getting back to the fullscreen app. Is this even possible?
When Skype is installed, you can use the callto:// or skype:// protocol to start skype.
The syntax is
skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]]
http://en.wikipedia.org/wiki/URI_scheme
If it's a touchscreen system then why do you want to show the standard Skype UI? It's not a touch-compatible interface. Have you considered using the Skype API to interact with the service instead?
There's a desktop automation library already available and a service SDK in beta.
http://developer.skype.com/
I'm pretty sure you will have to implement a native library which will have to search through all windows in the system, find the Skype one and bring it to front. So it is possible, but with the help of native library -- which then you can still use in Java through JNI.
精彩评论