Openfire plugin to send image offline

Hello, I wanted to send file from one user to another in android in offline mode. But I came to know that its not possible in openfire. So I created plugin from following link. Now problem is that I don’t know how to use that plugin using asmack library. Or is it possible to send file to offline users? Please help me out I am stuck to this problem for more than 7 days.

Any help will be appreciated.