Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

How to open folder which contains pdf files? 7 years 3 months ago #11722

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
How to open specific folder which contain pdf files and I want to show only .pdf file at my dashboard?
No other folder will show there?

Please Log in or Create an account to join the conversation.

How to open folder which contains pdf files? 7 years 3 months ago #11724

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
to open a specific folder you have to modify the root path by using PDFSetRootPath() method.
I suggest you to edit it in PDFNavAct (you will find it in the onCreate method).

Once you have set the root path you will see both ".pdf" files and folders, if you want to hide the folders I suggest you to check and edit PDFGridItem class.

Please Log in or Create an account to join the conversation.

How to open folder which contains pdf files? 7 years 3 months ago #11726

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
Where in PDFGridItem class I have to do change to hide folder except .pdf .

I only want Pdf will show

Please Log in or Create an account to join the conversation.

How to open folder which contains pdf files? 7 years 3 months ago #11727

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
I suggest you to check set_dir() method..

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum