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.
精彩评论