Smack's FileTransferManager.createOutgoingFileTransfer only accepts full JIDs. How can I determine the full JID of a user in Smack?
问题 After hours of debugging and trying to find out why the file transfer was not working using aSmack, while normal messaging was, I finally managed to pin it down to this. The Openfire server is sending the Rosters' JID missing the / at the end when I follow the method given in the Smack documentation to get a user's Roster list. Collection<RosterEntry> entries = roster.getEntries(); for (RosterEntry r : entries) { Log.v("Gabriel","Receiving: " + r.getUser()); } For example if I receive a