seferi 0 Newbie Poster

Hi friends. i have an image and i want to use it on another class. so i create a uri like that

        final Uri selectedImage = data.getData();
        String path = selectedImage.getPath();
        Intent sintent = new Intent(FromFile.this, OurView.class);
        sintent.putExtra("image", path);
        startActivity(sintent);

i called uri like that in the class of OurView

    String ur = getIntent().getStringExtra("image");
    try {
        URI uri = new URI(ur);

    } catch (URISyntaxException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }

i want to use this picture as a background in this class. How can i do?