title: How do I keep a user permanently online with Smack on Android?
body: <p>Okay here is my problem where i am stuck for so many days.</p>
  
  <p>I am developing a simple chat application with the help of XMPP client - SMACK.
  Everything works fine for me normal chat process from one friend to another, also added the notification part.</p>
  
  <p>What i am not able to do is if i forcibly close my application the whole session with SMACK stops.</p>
  
  <p>I am not able to send the message to the user who had closed the application.
  Now, how do i keep the status of the user permanently online so the he can also receive messages even if he had closed the application.</p>