title: Android Chat implementation Suggestions
body: <p>I have been working on a chat application and I need some suggestions to go about it. I have a server. Whenever a user logs into my app, and selects some user by searching, and sends a message to him, it will be stored on the server. Then my app checks if any a new message has arrived for me. If any message comes, it will be notified to the user. For achieving this, I have followed <a href="http://www.websmithing.com/2011/02/01/how-to-update-the-ui-in-an-android-activity-using-data-from-a-background-service/" rel="nofollow noreferrer">this method</a> to update the UI whenever a new message comes.</p>
  <p>And when the chat continues for more than 3 minutes, the app starts becoming slow. How to go about the problem?</p>