I have initially taken Gridview for Layouting. In the gridview i have added the images from the SDcard and displayed them.
Now I want to show them as full image when any one of them is clicked i.e
Using java Syntax Highlighting
- gridView.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView parent, View v, int position,
- long id) {
- try {
- // I am not able to convert the view clicked to an ImageView...
- } catch (Exception e) {
- e.printStackTrace();
- Log.e("Error", "exception" + e.getClass() + " " + e);
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
Since these image are stored in SDcard so i can't refer them as ImageView.setImageResource(....);
Please tell me how to proceed further.....
Thanks in advance
Vaibhav

