问题
I am implementing a system for touchscreens in java that needs 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?
回答1:
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
回答2:
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/
回答3:
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.
来源:https://stackoverflow.com/questions/5993926/opening-skype-from-java