I have checked examples around for PDF document generation in android and most of them use a canvas and paint the text on it. But I want to wri