How to create an IF statement for a new message is received in Android APP

Printable View