Now I am giving detail description about the problem.

XMPP Client program: It should running in mobile device,

It contains,

1. Login screen, mobile users login into the application by using the openfire server users accounts
2. It receive the broadcasted message from the openfire server and display it in mobile screen.
3. The user able to send message to the server.

Please Send the code for this program. I am eagerly waiting for your reply.

I am Using Netbeans 6.8 for developing xmpp client program

If U feel not enough this description then I will send elaborate.