RadaeePDF.com :: Topic: zero footprint on the device (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: zero footprint on the device

zero footprint on the device 2 years 5 months ago #8743

  • sgafurov
  • sgafurov's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 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?
The administrator has disabled public write access.

zero footprint on the device 2 years 5 months ago #8745

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
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 administrator has disabled public write access.
The following user(s) said Thank You: sgafurov

zero footprint on the device 2 years 5 months ago #8746

  • sgafurov
  • sgafurov's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 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?
The administrator has disabled public write access.

zero footprint on the device 2 years 5 months ago #8747

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
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 administrator has disabled public write access.
The following user(s) said Thank You: sgafurov

zero footprint on the device 2 years 5 months ago #8748

  • sgafurov
  • sgafurov's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Great, thank you very much :)
The administrator has disabled public write access.
Powered by Kunena Forum