I have been developing an application which needs to download a file from the Internet and save it into memory; application doesn’t need to save directly on to the SD card, because the SD card may be full. How can I save the file in memory using Java? Thank you.
Share
If you just need the data, why not just save the data in memory?
If you really need to save to a file, maybe below is what you need:
https://developer.android.com/reference/android/os/MemoryFile.html