开发者

How to get progress of sending image via bluetooth (Gamekit)?

开发者 https://www.devze.com 2023-02-22 11:35 出处:网络
I implement an application on iPhone which sharing p开发者_如何学JAVAhoto via bluetooth(Gamekit).

I implement an application on iPhone which sharing p开发者_如何学JAVAhoto via bluetooth(Gamekit).

I want to khow how to get a percentage of photo sending.

Please tell me. Thanks


To keep under the maximum transferred data size you have to support breaking up your data.

Break up your data in, say, 10 fragments. Send each fragment in turn. Add up the percentages as each fragment is sent and recieved.

Alternatively have the recipient post back unreliably how much data has been received.

0

精彩评论

暂无评论...
验证码 换一张
取 消