title: how to get the path of the image(.png) file that is stored in assets folder in android
body: <p>I have few images in assets folder i want to retrieve the path of the each image file and copy them into array and finally set to image view with some condition. i have used the below code.But it did not workout for me. may i know where i am going wrong.</p>
  
  <pre><code>final Uri ASSETS_URI = Uri.parse("file:///android_asset");
  final String[] IMAGE_IDS =new String[] {ASSETS_URI+"/"+"one.png",ASSETS_URI+"/"+"two.png",ASSETS_URI+"/"+"three.png"};
  
  iv=(ImageView)findViewById(R.id.iv);
  if(i&gt;=0 &amp; i&lt; IMAGE_IDS.length-1)
     i=i+1;
  else if(i==IMAGE_IDS.length-1)
     i=0;
  
  iv.setImageURI(Uri.parse(IMAGE_IDS[i]));
  </code></pre>