zero footprint on the device - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: zero footprint on the device

zero footprint on the device 3 years 7 months ago #8743

  • sgafurov
  • sgafurov's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,

I am building an app (Android and iOS) which should be able to render PDF (amoung other things). There is a specific requirement for the apps. A user should be unable to redistribute PDF. A PDF is loaded from a server and is presented to a user directly from RAM memory, without saving the PDF into filesystem.

I have tried RadaeePDF library and it works great! It can also take PDF data directly from RAM memory and this is exactly what I need.

But I also need to be sure that RadaeePDF does not store PDF data into filesystem temporary under certain condition (e.g. when PDF is quite big).

I have also tried PlugPDF library. The vendor of this library calls it "zero footpring" This is what they write in their website
> Zero footprint
> You can open PDF files directly from the byte array(memory), leaving zero footprint on the device.
> This means you can make your own secure document readers.

Can RadaeePDF be used in the same way?

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

zero footprint on the device 3 years 7 months ago #8745

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
All the temp data is saved (by default) in the path assigned to Global.tmp_path, unless you modified the path passed to m_doc.SetCache(Global.tmp_path + "/temp.dat");
then in the onDestroy of your activity, you need to call Global.RemoveTmp(), to delete the content of this path.
The following user(s) said Thank You: sgafurov

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

zero footprint on the device 3 years 7 months ago #8746

  • sgafurov
  • sgafurov's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I am sorry, it seems I was not clear enough.
Actually, I would like to be sure that the library does NOT write anything into temporary storage.
I need pretty basic PDF viewing functionality, no editing, no annotations.

I did some tests and see that the library has not written anything to temp storage so far. Can I rely on this observation?

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

zero footprint on the device 3 years 7 months ago #8747

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
yes, the temp path is used in case of pdf manipulation (create, move, copy pages, .... etc)

So for simple render it wont be used.
The following user(s) said Thank You: sgafurov

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

zero footprint on the device 3 years 7 months ago #8748

  • sgafurov
  • sgafurov's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Great, thank you very much :)

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

  • Page:
  • 1
Powered by Kunena Forum