On SD there is a folder with an image. I have a path to it. How can I install this image on ImageView from the directory?

    1 answer 1

    I found the solution myself:

    File image = new File(path); Bitmap bm = BitmapFactory.decodeFile(image.getAbsolutePath()); ImageView imgView = (ImageView) findViewById(R.id.cover); imgView.setImageBitmap(bm);