How can I refresh the Gallery after I inserted an Image in android?
<p>I've added an inserted in Gallery using android API as following:</p>

<blockquote>
  <p>Images.Media.insertImage(ctx.getContentResolver(),
  "scard/test.jpg", "Hello" ,
  "description");</p>
</blockquote>

<p>Actually the image that I passed its full path (scard/test.jpg) is already successfully inserted in the DB, but when you open the gallery you can't see it unless you switch off/on the device or Mount/Unmount the external memory.</p>

<p>It there any way to refresh the gallery on demand?</p>

<p>Thanks</p>

<p>Bassel Kh.</p>
