First answer your question: "How to create a File class?"
The following is a simple example.
File myFile = new File("Your any type of file url");
Android Developer File, .
URL- PDF. PDF , , URL-.
:
. , , .
: , Asset Manager.
Assets.
PDF , PDF.
, , PDF Assets - SD-Card , .
PDF , Sunil at Stack Overflow:
pdf
, . .