Retrieving image uri from an item in grid

view full story

http://stackoverflow.com – I am trying to read these uris from each selected item in my gridview, then store them in a Uri array and read them from there. Here is the code I have: for (int i = 0; i < imagegrid.getChildCount(); i++) { Uri uri = (Uri) imageAdapter.getItem(i); View view = imagegrid.getChildAt(i); CheckBox checkBox = (CheckBox) view.findViewById(R.id.itemCheckBox); // ImageView iv = (ImageView) view.findViewById(R.id.image); if (checkBox.isChecked()) { editImagesUri[count] = uri; (HowTos)