how to get data from intent in the form of uri?
<p>i have uri type data and i put data in intent using putExtra() but i have no idea how i get data in the uri from.</p>

<pre><code>else if(requestCode==2){

           if (data != null) {
                   Uri uri = data.getData();

                   Intent intent = new Intent(getBaseContext(),BackUp_Main.class);
                   intent.putExtra("singleImage", uri);
                   startActivity(intent);

               }
}
</code></pre>

<p>how can i get uri data in the from of uri?? </p>