Is There An Alternative To Fileoutputstream Type , Which Does Not Create A File?
To process some images in my android application I currently use code like this: FileOutputStream fileOuputStream = new FileOutputStream(imgpath); [..DO SOME STUFF..] Bitm
Solution 1:
If you are able to use an InputStream or OutputStream you can use ByteArrayInputStream or ByteArrayOutputStream for in memory handling of the data.
If you have two thread you can also use PipedInputStream and PipedOutputStream together to communicate between the threads.
Post a Comment for "Is There An Alternative To Fileoutputstream Type , Which Does Not Create A File?"