It is necessary to extract a separate file from the archive and preferably in the Assets folder. I tried to create an empty file ( File file=new File(path) ), but it was not created, the MB did not correctly specify the path, tried many ways, access to external memory seems to be as it is. I also tried the variant with OutputStream os = new FileOutputStream("file:///android_asset/file.txt") . In general, it does not work, please help
- Sorry, not hold. There is no word “in general”, there is “in general” and “in general” - Semushin Sergey
- oneYou cannot write anything to assets - it is a resource folder packaged in an application distribution kit (APK) and read-only. - woesss
|