Android Question What's the error mean?

Discussion in 'Android Questions' started by fash866, Apr 21, 2015.

  1. fash866

    fash866 Member Licensed User

    Hi:
    i convert a bitmap to byte[] and use httputils2 to upload it , it's hava a mistake like this:

    [​IMG]
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    imageByte is a single byte. You need to send an array of bytes. Remove the for each loop and send imageData.
     
  3. fash866

    fash866 Member Licensed User

    The reason is mast define for each imageByte() As Byte
     
  4. fash866

    fash866 Member Licensed User

    Yes,it's run now!3ku!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice