Skype4Java(Skype API for Java)

14年前
Skype contains Skype API which is a mechanism to develop plug-ins.
But it is not easy to use in Java because the API is string-based which means that developers have to parse received messages and generate commands by the specification document.
This project enables developers to make plug-ins in Java easily.

This project is developed by Koji Hisano, Bart Lamot, commnunity member and supported by eflow Inc(UBION Inc). and Skype as official API.
Please, see the detail from:
https://developer.skype.com/wiki/Java_API

Supported APIs

  • Profile API
  • Contact List API
  • Group API
  • Chat API
  • Voice Chat API
  • Video Chat API
  • SMS API
  • AP2AP API (P2P API)

This library covers 4/5 of Skype API.

How to use

Please prepare the following environment:

Currently tested:

  • JDK1.5.0_06
  • eclipse3.2
  • Skype2.5.0.122

Afterwards, please import this project by [File - Import] menu of the eclipse.
This project is downloadable from:
Development Version (recommended)
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/skype.tar.gz?view=tar

Release Version (very old)
http://sourceforge.jp/projects/skype/files/

Please, see the samples (sample folder) and the testcases (test folder) about the usage of APIs.

When you distribute your application, you have to distribute these files with your application for Windows, too:

  • skype.jar
  • swt.jar
  • swt-win32-3139.dll

Please note that the place in the native library should be specified as follows when the application start.

java -Djava.library.path=lib -classpath bin;lib\skype.jar;lib\swt.jar [your application main class name]
(when your application's 'lib' directory contains these files)