I understand that it is very late, but I wanted to do the same, except that I wanted it for my tablet, which is a Galaxy Note 10.1 with a Wacom digitizer, which I can use to comment on the code. I found that one good solution is to use Doxygen to create a PDF file that will contain hyperlinks and whatever you want in the PDF file. For my use case, I would pair it with EzPDF on Android to annotate the code. It was also for learning a new code base. In the end, I did not use the generated PDF file, but was quite useful.
source share