title: Android - Puzzle Piece
body: <p>I'm trying to create a jigsaw puzzle app for Android. I am fairly far into the coding, and I am kind of stuck with one issue.</p>
  
  <p>I need a way to change a Bitmap into a bunch of puzzle pieces. My current code simply cuts the image into rectangles, and it works pretty well, but now I need a way to create more complex piece shapes.</p>
  
  <p>I had a couple of ideas:</p>
  
  <ul>
  <li>Use a separate bitmap file that contains only black and white pixels, and use that to cut up the picture. I thought this was a pretty good plan, until I went to code it. I really had no idea how to do it.</li>
  <li>Use a <code>Path</code> object to create the border. This would probably work, except I'm not sure how to keep track of the sides so that the pieces connect with each other.</li>
  </ul>
  
  <p>Any ideas? I'm open to any suggestions.</p>