Perhaps because I don’‘t understand JAVA at all, I’‘m totally lost, but I can’'t figure out how to use this at all.
I just want to send an IM to someone via a form on a web page. I envision a drop down where you can select the person to send the IM to and a box to type the IM in.
I’'m totally lost as to how Smack helps me do this.
would you please explain the use case? I assumed that only a few people (admins, helpdesk) want to have a web page where they login and then send some messages without receiving an answer.
Spark uses the Smack API to send the messages to the jabber server - you’'ll likely use either Spark or Smack.
Maybe you can live with one of these out-of-the-box options:
You are right. I thought about it a bit more and it is dumb to send a message and not get an answer in return.
Thinking about it now, I’‘d like a way to have a user’'s name displayed on a web page and have that name hyperlinked to open a chat when someone clicks on their name.
So if some one clicked my name, ewto16[/u], that would pop open Spark with a chat setup to go to me.
Of course you can use regedit and define that xmpp: URL’'s open Spark, but this would lead to 2, 3, … instances of Spark running (while only one can be connected) because currently Spark does not recognize that it is already running.