Passing ImageView from one activity to another activity
<p>I have been trying to create an android app with the integration of Adobe creative SDJ but I have encountered some problems.</p>

<p>I have created an Activity where one launches camera or gallery to select an image for editing it. The camera launches and the photo is captured and saved in this path:</p>

<p><code>storage/emulated/0/Pictures/myAppName/myImage.jpg</code></p>

<p>It is also supposed to be displayed in an <code>ImageView</code> in the same activity but it isn't being displayed. In another activity, I have integrated the ImageEditing UI of the creative sdk from Adobe which needs an <code>imageUri</code> as an input image. </p>

<p>Here are my codes for displaying Image in the <code>ImageView</code>:</p>

<pre><code>@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { 
        // camera codes 
        String path = "storage/emulated/0/Pictures/Touch/touch.jpg";
        resultImageView.setImageDrawable(Drawable.createFromPath(path));

        // gallery codes
        if (resultCode == RESULT_OK &amp;&amp; requestCode == PICK_IMAGE){
            imageUri = data.getData();
            resultImageView.setImageURI(imageUri);
        }
    }
</code></pre>

<p>How can I convert the <code>ImageView</code> into Uri and send it to the next activity? Thanks in advance!</p>