Rahmat Ullah
Rahmat Ullah

Reputation: 229

how to create instant messaging app in android

I want to implement an instant messaging feature in my android app which will show the chat list of the current user and the conversation with each of them. I want to know which is the best option for doing so because i have heard about various feature like pusher,gcm,xmpp,etc.

I am using retrofit 2.0,php and mysql now in my app to create messaging feature,everything is working out great but but i cant figure out how to show the message received or send in the conversation instantly because for that network request call has to called every time the received or send and i have a feeling i might not be good idea as it will slow down app or something.

Any help will be appreciated Thanks in advance

Upvotes: 0

Views: 1015

Answers (1)

Uriel Frankel
Uriel Frankel

Reputation: 14612

If I were you I would look at https://socket.io/. There is also a demo project for Android chat app

Upvotes: 1

Related Questions