title: android: how to merge an array of bitmap together in one bitmap?
body: <p>i'm trying to make a map loader for tiled, on android..
  so far i could parse the tmx file, grab all the tile data, and put them in a 2dimensional array, like this:  Bitmap tiles[x][y] ...
  it works and i can render tiled maps on android now, but only by interating through that tiles[][] array, like shown below..</p>
  
  <p>how can i merge together in one single bitmap the content of a bitmap array ?</p>
  
  <p>here's my render method: </p>
  
  <pre><code>//here's what i have:
  for (int x = 0; x &lt; MapLoader.width; x++) {
    for (int y = 0; y &lt; MapLoader.height; y++) {
      g.drawBitmap( picSource[x][y], posX, posY, BitmapPaint);
    }
  }
  
  //and here's what i'd like to have:
  g.drawBitmap( picDest, posX, posY, BitmapPaint);
  </code></pre>
  
  <p>i would like to itterate through picSource[x][y] grab all the 
  bitmaps and put them all in picDest. so i can get 1 single big pic, representing the map i've loaded and constructed from tiled tmx file..</p>
  
  <p>( note that no bitmap contained in the picSource[][] array is located a the same position .. 
  there's no bitmap on top of any other, they're just displayed in a grid
  each is a 32x32 bitmap in a 4x3 grid for example.. 
  each its own spot on the grid .. )</p>
  
  <p>thanks for the help</p>