Android - Send an image through socket programming

后端 未结 1 1711
一生所求
一生所求 2020-12-30 17:58

I am implementing a socket application where one phone will be a client and the other will be a server. The program is able to send strings using print writer just fine from

相关标签:
1条回答
  • 2020-12-30 18:31

    Thanks everyone , I found the error. The toast messages have to be inside the UI thread or the handler . As I had a few of them in a non UI thread, it began to throw the exception.

    0 讨论(0)
提交回复
热议问题