Sign in
Log inSign up

Unable to write complete String through Socket connection in android.

DARK-KNIGHT-491's photo
DARK-KNIGHT-491
·Feb 10, 2018

I have a java code which acts as a client and a PHP Server running on xampp. The client sends a String to the PHP server. Thing works as expected in plain java. But when I use the same code for android then only starting few char are sent by the application.

This is the android client

hastebin.com/uxolamuvof.scala

and This is the php server

hastebin.com/mumefuyavu.pl