Client-Server: File transfer from Android to PC connected via socket

后端 未结 3 367
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 00:54

I\'m trying to send a picture I choose from the gallery on my phone, and send that picture from the phone to my PC, when I click on the button it should take the picture\'s

3条回答
  •  情深已故
    2020-12-05 01:54

    It aint working cos u havn't reintialized your variable current to 0 It seems your are apending in the subsequent loop without reseting the value. So in my guess it might be causing problem in the second iteration of your execution.

提交回复
热议问题