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

TOPIC:

how to check the pdf is in maximum size or not 9 years 4 months ago #8049

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 0
I need to know the whether current pdf is in maximum size or not?.I tried with extending the PDFReader class.But i am unable to get the m_view value to extending class as its private variable.Is there any other way to get this ?

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

how to check the pdf is in maximum size or not 9 years 4 months ago #8062

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You can simply change it to protected

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

how to check the pdf is in maximum size or not 9 years 4 months ago #8064

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 0
I can change the library Radaee.But it is not good practise i think as if we plane to add new version of library we have to do all changes in new library.So i thought to overrides the function of existing in library is better way.Also if we change the library does it affect to license?

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

how to check the pdf is in maximum size or not 9 years 4 months ago #8065

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Changing the java code has no effect on the license, what you are saying is true...but for what you are asking, currently this is the only way.

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

how to check the pdf is in maximum size or not 9 years 4 months ago #8068

  • Mariah12
  • Mariah12's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Nermeen is right, change it to protected, this is the only option.
Mariah Albert
Android Developer
www.appliconic.com

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

  • Page:
  • 1
Powered by Kunena Forum