I am using smack api for an android application. I have successfully completed the transmission of text messages and images. But I donβt understand how I can get the status of a message, is it either read by the end user or not? Please give me an example link or give me a code snippet so that I can do this.
I am currently using the following code to send a message.
Message msg = new Message(to, Message.Type.chat); Log.d("=====SEND MSG====>>", msgText); msg.setBody(msgText); connection.sendPacket(msg);
Thanks in advance.
source share