Platform and system specifics:
OS- Windows XP
Processing version- Processing 1.0 (Without Java)
Sun JDK (NOT JRE!) version- 1.6 rev 11
Skype API for Java- Latest code in tar ball [link]
Skype ver 2.0 or above
Installation steps:
1) Do the usual setup for Processing and JDK, expand the tarball to a new folder.
2) In the sketch folder (in Processing version 1.0 only!), create the following file structure
-- libraries
-- skype
-- library
|-- skype.jar (copy from folder Skype->release)
|-- swt.jar (copy from Skype->lib->window)
|-- winp.jar (copy from Skype->lib->window)
|--libskype.jnilib (copy from Skype->res
3) Copy the file skype.dll to c:/windows/system32
4) Start Processing, now you should see an option for importing skype library in import->libraries
5) Start Skype, test the following code in skype
import com.skype.connector.windows.*;
import com.skype.connector.test.*;
import com.skype.connector.*;
import com.skype.connector.linux.*;
import com.skype.*;
import com.skype.connector.osx.*;
import com.skype.connector.win32.*;
void setup(){
try{
Skype.call("+8521878200");
}catch (Exception e){
e.printStackTrace();
}
}
void draw(){
}
3 comments:
thank you! i m trying it now (finally)!
You are great! I am also trying to use this API in processing!
mhh, it didn't works on OS.X 10.6
the libskype.jnilib seems to have some bugs.... but on windows it works just fine, thx
Post a Comment