Android: How to: create a new copy of an existing Bitmap?
<p>I will create a simple floor map guide. I have different FLOORS and the corresponding MAPS. FLOORS are buttons and MAPS are png files stored in the sdcard. When I click 1F and corresponding 1Fmap will be displayed and so with other floors.</p>

<p>I am thinking of the following:</p>

<ol>
<li>one image view to show the selected map.</li>
<li>Hashmap ( OR ) to handle the bitmaps. use to obtain the bitmap based on the selected floor. then set to ImageView via setImageBitmap(..)</li>
<li>the bitmap to be assigned in the Hashmap are downloaded upon clicking of the floor button. then create the bitmap, set to imageview and the later on store to hashmap upon clicking the other floors.</li>
</ol>

<p>Here are my technical/design problems:</p>

<ol>
<li>how to create a copy of bitmap?</li>
<li>is it ok to store it to hashmap gradually or obtain it from the sdcard everytime the floor buttons are click?</li>
<li>if i will be using hashmap, is it ok to use Integer (floor numbers) or String (floornames) as map key?</li>
</ol>

<p><strong>UPDATE:</strong>
additional, I am targeting maximum of 20 floors (it means 20 512x512 png files...i am thinking also to adjust it to 256x256 as others suggested).</p>
