fist of all, u shall need a professional license.
and then derive class like:
public class PDFReaderAct extends Activity PDFReaderListener
eclipse shall auto generate all methods for PDFReaderListener.
when Activity start, invoke Global.Init(); and open PDF file.
then, open PDFReader codes like:
m_reader.PDFOpen(m_doc, false, this);
there are method:
public void OnAnnotClicked(PDFVPage vpage, Annotation annot)
for PDFReaderListener, which implement in Activity class
public void OnAnnotClicked(PDFVPage vpage, Annotation annot)
{
m_reader.PDFPerformAnnot();
}
when user click on an annotation.
if itis link jump to another page, shall auto jumping.
others, shall call other callbcks:
public void OnOpenJS(String js)
{
//todo: parser java-script.
}
public void OnOpenURI(String uri)
{
}
public void OnOpenMovie(String path)
{
}
public void OnOpenSound(int[] paras, String path)
{
}
public void OnOpenAttachment(String path)
{
}
public void OnOpen3D(String path)
{
}