How to create android library eclipse?

Furthermore and honestly i feel silly now. Visit the processing github as they have a template here for android processing lib