i would also remove the input stream altogether an...
# android
j
i would also remove the input stream altogether and write the byte[] directly