Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Android - Notification Inbox style for received messages.

Hi,
Perhaps, this is an Android question than Paho MQTT; still, just tossing this question to know, if anyone has attempted this.

An inbox style notification collects all known notifications and shows a summary including a count of messages received. See more here [1]. An Android client that has subscribed to a given topic with cleanSession=false with QoS=2 may have pending messages to be delivered since the last time it was on-line. I don't think, the client can know in advance the number of such messages when it comes online.

So, what would be your suggestion to implement an Inbox style notification ? Perhaps, the message is padded with a timestamp to check against the client connected timestamp, etc. ?

Nagesh

Back to the top