i have debug this application oos.write(buffer); this line makes the error i am using socket programming from connecting java and php.. this program send the image to php.
full code
/*...
Type: Posts; User: ashi123
i have debug this application oos.write(buffer); this line makes the error i am using socket programming from connecting java and php.. this program send the image to php.
full code
/*...
FileInputStream fis = new FileInputStream("/Users/ashida/test/Cross.jpg");
byte[] buffer = new byte[fis.available()];
fis.read(buffer);
...