The problem is that the PdfViewerActivity
you are trying to instantiate in your Intent
is an abstract class
and cannot be instantiated (Link of the class here). You need to create an Activity which extends PdfViewerActivity
implementing any abstract method that the class has. Something like this:
public class MyPdfViewerActivity extends PdfViewerActivity {
//Your implementation code here.
}