Trying to create a "FILE" in Android Studio with a path always responds " false " when using the method myfile.exists ().
How can I get the path or Uri to create it correctly? since I add it in different ways but apparently it always turns out to be incorrect.
Examples:
File myfile = new File ( myuri.toString () );
File myfile = new File ("android.resource: //myapps.me.test/drawable/pikachu");
With the file format File myfile = new File ("android.resource: //myapps.me.test/drawable/pikachu.png");
Without "drawable" File myfile = new File ("android.resource: //myapps.me.test/pikachu.png");
I appreciate your support in advance.