Welcome to the Treehouse Community
Looking to learn something new?
Android Data Persistence Challenge 2
May someone help, i'm failing to pass this stage. I don't know how to do as the question demands.
// assetManager, assetName, and fileToWrite have been initialized elsewhere InputStream in = assetManager.open(assetName); FileOutputStream out = new FileOutputStream(fileToWrite); copyFile(in, out);