title: Is there any Openfire-based Instant message tutorial?
body: <p>Recently I want to build a simple instant message android application.
  As far as I know, openfire + spark + smack is a solution. But I can't find demos.
  So, is there any Openfire-based instant message tutorial that I can learn?</p>
  
  <p>Besides, I do find some codes about smack API, such as:</p>
  
  <p><code>some definitions......</code></p>
  
  <p><code>connection.login("admin", "admin","SmackTest");</code><br>
  <code>connection.getChatManager().createChat("shimiso@csdn.shimiso.com",null).sendMessage("Hello word!");</code></p>
  
  <p><code>other codes......</code></p>
  
  <p>I am curious about the <strong>data</strong>: The client(which is my duty to write the code) has to communicate with openfire(which is already implemented by others, I only use the openfire as a chat server). So, my question is :Do I need to write my own server program code to manipulate the user data(such as user name, password, portrait)?</p>
  
  <p>So, if that is the case, then it means that I have to use openfire as a chat server application, and I also have to write my own data server application?</p>