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

TOPIC:

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11796

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
As I have added your library in my app so when I am opening this activity PDFNavAct.java it open in new page and when I press back it close the app.

I need to open this page in my app and work according to my app.

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

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11797

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
in the PDFNavAct the navigation is handled by the two up buttons : the first refreshes the folder, the second redirects to the parent folder (if present) and this is the default behavior of the library, so when you tap the back button it closes the activity, but you can edit PDFNavAct as you want to fit your needs.
If this is not what you wanted, can you please better explain?

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

Last edit: by Davide.

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11799

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
See I have my app and I have header there in which I will call all the activities from my app.
But PDFNavAct.java is the activity in ViewLib ... So how could I call it in my app.
It opens the activity when i call it.

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

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11800

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
I suggest you to look at MainActivity.java from RDPDFReader module, here you will find all the calls to the project activities.
In your own project make sure to have declared the PDFNavAct in the manifest.
This guide maybe will help you : www.radaeepdf.com/support/knowledge-base...component&kbartid=41

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

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11802

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
How to call any activity of of my app in PDFNavAct. In which I have added this ViewLib as a library.

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

How to show pdfnav.xml(PDFNavAct) file in my app ? 7 years 2 months ago #11803

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can call any activity using Android standard methods like : startActivity(yourIntent)

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum