Hi friends i am adding image at runtime in this way but it is now showing can any one tell me which i am going to mistake

Uri uri=Uri.parse("/HomeListView/res/drawable/images.png");
File f=new File(uri.getPath());
imgvi.setImageURI(Uri.parse(f.toString()));
imgvi.invalidate();
tr.addView(imgvi);