(The next question relates to mobile platforms in general (iPhone, Android, Blackberry).
We integrate chat features into our existing application. I developed a system with the .Net web service and Sql Database for tracking chat messages. Everything works fine as long as the chat window is open.
I need a way to notify the user of a new message when he / she does not view the chat screen (this means that the application is not in the foreground or they are in another section of the application (and not in the chat screen).
Obviously push notifications will be perfect here, but I'm not sure when I should send push notifications.
How does the client sending the message find out if the other guy is viewing the chat screen? Should I just send with each message and receive the receiving device, decide whether it needs to pop up a window or display something in the nofication panel?
It seems that an excessive sound is pressed every time a message is sent. How is this usually done?
Any ideas at all will be appreciated.
Thanks.
Paulg source share