chat in android with service -
i want create chat application using service, here service should listen new messages, notifies user if new message arrives server , when user clicks on notification, shows complete message details. again if user wants send message, has send message user.
here want start service once , run indefinitely, when activity starts it's starting service each time.
consider server chat.socket.io
please tell me how achieve solution. in advance :)
if service loaded already, won't load again. intent delivered same service. don't have worry that.
also, might want use google cloud messaging instead of making services chat notifications.
Comments
Post a Comment