i have saved drawable images in internal storage by compressing them in bitmap format. the problem is that i want to retrieve those image files and wants to display them in grid view i am able to list the total no of files but i am not able to display those files in image view. here is my code
        Intent i = getIntent();
        int position = i.getExtras().getInt("id");
        ImageAdapter imageAdapter = new ImageAdapter(this);
        ImageView imageView = (ImageView) findViewById(R.id.SingleView); 
        ContextWrapper cw = new ContextWrapper(getApplicationContext());
           File directory = cw.getDir("imageDir", Context.MODE_PRIVATE);
           File[] imageList = directory.listFiles();
           if(imageList == null){
               imageList = new File[0];
                }
           Log.i("My","ImageList Size = "+imageList.length);
        imageView.setImageResource(imageAdapter.  (....?) );
 
    