I have view pager in my application.i I need to show pdf files on each fragment in view pager.is there way to get a pdf view from mupdfmupdf ? normally we call mupdfmupdf as below
Uri uri = Uri.parse("path to pdf file");
Intent intent = new Intent(context, MuPDFActivity.class);
intent.setAction(Intent.ACTION_VIEW);
intent.setData(uri);
context.startActivity(intent);
Uri uri = Uri.parse("path to pdf file"); Intent intent = new Intent(context, MuPDFActivity.class); intent.setAction(Intent.ACTION_VIEW); intent.setData(uri); context.startActivity(intent); So if i use mupdfmupdf for my app i have to call MuPDFActivity MuPDFActivity on each fragment.I think its not a correct way?