Newbie :How to write a plugin?

I am really liking the OF and Spark.

There is something that I want to create but I am unsure where to start.

I want to have a button on spark that will send the other user a link to open a VNC connection to my PC.

I have tested that using a .vnc file sent will work. So now is there a way i can click a button on the chat window, gather the info needed for this .vnc file, send the .vnc file to the partner in chat and Now the VNC connection is up and running…

This would be easy i think.

The .vnc file looks like this:

Host= {IP address}

Password=ac64188cb876a86d

UseLocalCursor=1

UseDesktopResize=1

FullScreen=0

FullColour=1

LowColourLevel=1

PreferredEncoding=ZRLE

AutoSelect=1

Shared=0

SendPtrEvents=1

SendKeyEvents=1

SendCutText=1

AcceptCutText=1

DisableWinKeys=1

Emulate3=0

PointerEventInterval=0

Monitor=
.\DISPLAY2

MenuKey=F8

AutoReconnect=1

thanks in advance.

Hi,

as this is a Spark dev question it may help a lot to post it in the right forum as it has nothing to do with Openfire.

A good preparation would be to download the Spark source code and take a look at the existing plugins and probably to clone one.

LG

And you can have a look at the Sparkplug Kit which includes a dev guide:

http://www.igniterealtime.org/projects/spark/sparkplug-kit.jsp

wrong forum