title: How to view images based on tab selection in android
body: <p>Hi 
  I have created a program to fetch and display some images in gridview inside tabview stored on device.</p>
  
  <ol>
  <li><p>MyAppfolder</p>
  
  <p>1.1. Fruitsfolder</p>
  
  <p>1.1.1.apple.jpg</p>
  
  <p>1.1.2.Grapes.jpg</p>
  
  <p>2.1. Vegetablefolder</p>
  
  <p>2.1.1.tomato.jpg</p>
  
  <p>2.1.2.cucumber.jpg</p></li>
  </ol>
  
  <p>This is the folder structure of my application . My main folder is MyApp. It contains subfolder named Fruitfolder and Vegetable folder.These name are used for creating tabs(dynamically).What i need is to display images in gridview from the folder when i select the folder named tab .
  ie when i click on vegetable folder tab view its corresponding gridview with images tomato.jpg and cucumber.jpg.</p>
  
  <p>These folders are currently saved inside sdcard.</p>
  
  <p>Any idea to accomplish this.please reply .thanks in advance</p>