Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Whymyappcrasheswhensendingdatatotcpserver

I want to make an app that read qr code and send it trough tcp server Here is my codes Please take a look at them

TcpClient.java

ScannedBarcodActivity.java

App can read qr code i checked that via Log.But when i click btnAction app is crushing suddenly.I got the codes from samples on the internet.My question is what is the problem or what should i put to where to understand what is wrong on my app

Comments