I used the davanum example and chat is working fine on the android emulator. I noticed the discussion surrounding the "android smack" jar is pretty old. So I tried using the latest smack.jar and smackx.jar... and chat still works fine in the emulator.
I used another example from here about smack file transfer (not on android), and that works (using latest smack.jar and smackx.jar).
But when I try the file transfer code in the android emulator, it doesn't work. It fails on this "FileTransferNegotiator.setServiceEnabled(connection,true);" with a null pointer exception.
I noticed some discussion surroudning this on here, they are months old, so I'm not sure how relevant they are now. In any case, I haven't found a solution yet.
Please help! Any help is greatly appreciated.