title: how to run media scanner in android
body: <p>I want run the media scanner while capturing the image. After capturing, the image it is updated in grid view. For that I need to run media scanner. I found two solutions to run <strong>media scanner</strong> one is  the <strong>broadcast</strong>  event and other one is <strong>running media</strong> scanner class. I think in Ice Cream Sandwich (4.0) media scanner class is introduced.Before versions need to set broadcast event for running media scanner. </p>
  
  <p>can any one guide me how to run media scanner in right way.</p>