If you want to know how I did it, just read from /dev/graphics/fb0
Choose how long to wait before taking a screenshot:
Once the screenshot is taken, you will get a toast on the bottom of your screen.
You can view the screenshot and save it to your SD card (from the menu):
Download it off the Market!