I'm trying to adapt the example provided here for Smack 4.1.0. and getting error like:
PacketInterceptor, DefaultPacketExtension, PacketExtensionProvider classes are missing in smack library.
PacketListener, PacketTypeFilter, Packet, PacketExtension classes are depricated.
Am I doing something incorrect.
Am I missing something? Please note I am using JDK 7.
If anyone can explain which smack JARS need to be included, will be really great.
1
votes
1 Answers
1
votes
To use Smack 4.1 in your project, you need to include the following jars
- jxmpp-core-0.4.1
- jxmpp-util-cache-0.4.1
- minidns-0.1.1
- smack-android-4.1.0.jar
- smack-android-extensions-4.1.0
- smack-core-4.1.0
- smack-extensions-4.1.0
- smack-im-4.1.0
- smack-tcp-4.1.0
as mentioned here : Android smack 4.1 issue with connection