The code looks good. I tried using this version of aSmack and it dint worked for me either. Try using asmack-android-19-0.8.10 and instead of using the normal ConnectionCOnfiguration connConfig = new ConnectionConfiguration(HOST,PORT,SERVICE) use AndroidConnectionConfiguration connConfig = new AndroidConnectionConfiguration(HOST,PORT, SERVICE);. That worked for me. Wish you luck. Here is the link for aSmack versions. http://asmack.freakempire.de/0.8.10/
↧