How can I copy BufferedReader into BufferedWriter for pdf files in android?
The problem is I want to copy a file with gms library (I can't download with gms, just copy) so if I read every row with BufferedReader how can I copy with BufferedWriter and save pdf files? Every idea is appreciated Thank's
You can't.
ReadersandWritersare for character data. PDF files are binary. You should be usingInputStreamsandOutputStreams.