Change this:

InputStream instream = socket.getInputStream();

to this:

*OutputStream outstream = socket.getOutputStream();*


Change this:

instream.read( buffer);

to this:

*outstream.write( buffer);*


On Thursday, October 11, 2012 12:26:43 AM UTC-5, akash roy wrote:
>
> i want send a file so what changes i have to make.?
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to