This demo illustrates some of the possibile uses of ShapeFiles. There are several more, just check the source code to see the methods implemented in the classes ShapeFile and ShapeRecord.
Create new ShapeFile
Read Point ShapeFile
Read Polygon ShapeFile