The above solution ends in class cast exception as below
java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4 cannot be cast to org.jivesoftware.smackx.packet.StreamInitiation
code:
DelayInformation info = (DelayInformation)message.getExtension(“delay”,“urn:xmpp:delay”);
work around so far, some of them suggested to set providerManager manually before calling xmpp connection and some suggested smackx properties would not loaded properly(meta-inf/smack.provider)
both doesn’t resolve the problem …any other suggestions to proceed with ?