Hi there i am using asmack-android-19-0.8.10.jar and openfire to develop file transfer. i refered to harryjoy.me but i have problems when sending the file where transfer.get
Implementation looks buggy, e.g.
<feature xmlns="http://jabber.org/protocol/feature-neg">
<x xmlns="jabber:x:data" type="submit">
<field var="stream-method">
<value>http://jabber.org/protocol/bytestreams</value>
<value>http://jabber.org/protocol/ibb</value>
</field>
</x>
</feature>
is wrong reply, because XEP-0095 say:
If acceptable the Receiver MUST select one of the presented stream types to use.
Try to use only one stream method and/or submit bugreport to Smack.
First, thanks for the detailed question. That makes it easy to get an idea what could be wrong. While vitalyster is right, the stanza is a violation of the spec, I don't think this is the cause for the problem.
What looks wrong is that we don't see any result IQs for the set IQs that carry a data element, ie the stanza of Example 7 in XEP-47 is missing. That's all I can say with the provided information. I suggest you grab a debugger to find the root cause. Good that (a)Smack is open source
Edit: You call SmackAndroid.init(Context)
as aSmacks README tells you to do, or not?