How to create java.io.File class from file inside assets ? I have face.jpg in /assets/images/ and I need File to put in call of another function. How to achieve this ?
How to create java.io.File class from file inside assets ?
You don't, unless you copy the file from assets to a local file. Assets are not files in the filesystem, and so you cannot create File objects representing them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With