title: How to recycle a bitmap and use it later again?
body: <p>I have to free memory occupied by bitmaps. So I'm calling <code>recycle()</code> on all of them, when my activities finish.</p>
  
  <p>These bitmaps are always used in drawables, either as background property or source (case of <code>ImageView</code>) property.</p>
  
  <p>But the problem is, when later another activity has a view that also uses these bitmaps, it will show </p>
  
  <blockquote>
    <p>java.lang.RuntimeException: Canvas: trying to use a recycled bitmap.</p>
  </blockquote>
  
  <p>What can I do, I can't keep the bitmaps in memory only because <em>maybe</em> the user starts, at some point later, an activity which uses them. How do I tell the bitmaps to free memory and also please be possible to be used later again?</p>