when am sending the image path null then again send image path then image not showing. so please help me
<pre><code>protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (resultCode == RESULT_OK &amp;&amp; requestCode == CHOOSE_IMAGE_REQ_CODE) {
        imageURI = data.getData();
        Toast.makeText(getBaseContext(), "Added your chosen image"+imageURI, Toast.LENGTH_SHORT).show();

        ContentResolver cr = getContentResolver();

        try {
            in = cr.openInputStream(imageURI);
        } catch (FileNotFoundException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        Bitmap bitmap = BitmapFactory.decodeStream(in);

        if (bitmap != null) {
            img.setImageBitmap(bitmap);
        }
        strPhoto=imageURI.toString();
    }
}
</code></pre>

<p>for retrieving values code</p>

<pre><code>for(i=0;i&lt;arrimg.size();i++)
{
    Uri uri = Uri.parse(arrimg.get(i));
    Log.i("uri", ""+uri);
    img.setImageURI(uri);   
    cur.moveToNext();
}
</code></pre>
