fash866 Member Licensed User Longtime User Apr 21, 2015 #1 Hi: i convert a bitmap to byte[] and use httputils2 to upload it , it's hava a mistake like this: Attachments QQ圖片20150421221350.jpg 43.9 KB · Views: 387
Erel B4X founder Staff member Licensed User Longtime User Apr 21, 2015 #2 imageByte is a single byte. You need to send an array of bytes. Remove the for each loop and send imageData. Upvote 0
imageByte is a single byte. You need to send an array of bytes. Remove the for each loop and send imageData.
fash866 Member Licensed User Longtime User Apr 21, 2015 #3 The reason is mast define for each imageByte() As Byte Upvote 0
fash866 Member Licensed User Longtime User Apr 21, 2015 #4 Erel said: imageByte is a single byte. You need to send an array of bytes. Remove the for each loop and send imageData. Click to expand... Yes,it's run now!3ku! Upvote 0
Erel said: imageByte is a single byte. You need to send an array of bytes. Remove the for each loop and send imageData. Click to expand... Yes,it's run now!3ku!