Opening Skype from java

喜你入骨 提交于 2019-12-24 02:36:05

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!