Asmack file transfer progress always at 0.0

前端 未结 2 1037
梦谈多话
梦谈多话 2021-01-17 05:46

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

2条回答
  •  借酒劲吻你
    2021-01-17 06:05

    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?

提交回复
热议问题