How to create one to one chat and group chat

Hello,

I'm just a beginner in XMPP and ejabberd.

upto now:

I installed ejabberd in my machine and am able to login with admin account create users and i can chat using pidgin from one to one.

Now, I want to build my own android chat application.

I just wanna know:

1.from where to begin this process.
2.where i need to write code, server side(erlang language) or else i need to write code in android application using java
3. what are the documents i need to follow for this process.
4.presently i have imported all smack libraries in my android project and am able to register my user in ejabberd and next step is i need to create chating between two clients here am getting problem i dont know where to start this.

please help from this

thank you

Syndicate content