<Upload image File from file path> In android stud...
# stackoverflow
u
Upload image File from file path In android studio I have uploaded an image to the drawables folder in resources and not I'm trying to use that image in my project. Im checking to make sure the image file exists, but checking if it exists returns false everytime val imgFile = File("/Users/jakesmith/Desktop/Attachments/app/src/main/res/drawable/myimage.png") if (imgFile.exists()) { val myBitmap = BitmapFactory.decodeFile(imgFile.absolutePath) imageView.setImageBitmap(myBitmap)...