I create rooms in openfire.
If you want to send files to a room so that it can distribute this file to all room tenants.
I am doing this with a single file transfer, following this post:
http://harryjoy.me/2012/08/18/file-transfer-in-android-with-asmack-and-openfire /
Now I can not send the file to the group. What I do instead of sending the file to the user, I just replace the username with the group name:
OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer(" usre2@myHost /Smack");
to =>
OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer(" groupname@conference.myHost ");
source share