I’m trying to, using the SMACK API, allow the user to send a screen shot to a friend. This is a feature that’s available in SPARK. So far I’ve been unsuccessful in my feeble attempt.
Does anyone know where I can go (easy now) to find an example of this? Is it even possible using this library? Any help is MUCH appreciated!!
The screen shot capability in Spark uses a combination of smack’s file transfer api and Java’s Robot class. I would suggest you check out the source to Spark and look at the SparkTransferManager to see how everything is put together.