Hi, John Thanks for your  reply.I had tried it but it gives me error
If I used as
 while ((size = in.read(buffer, 0, buffer.length)) != -1)
Then here read() method requires first parameter as char[]  not a
byte[]. If I changed  byte[] buffer = new byte[2048]; to char[] buffer
= new char[2048];
Then at the time of writing file as baos.write(buffer, 0, size) ;
requires byte[]instead of char[].

Now how to solve this. thanks

-- 
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