- Posts: 3
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
zero footprint on the device
11 years 5 months ago #8743
by sgafurov
zero footprint on the device was created by sgafurov
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?
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?
11 years 5 months ago #8745
by nermeen
Replied by nermeen on topic zero footprint on the device
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.
then in the onDestroy of your activity, you need to call Global.RemoveTmp(), to delete the content of this path.
11 years 5 months ago #8746
by sgafurov
Replied by sgafurov on topic zero footprint on the device
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?
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?
11 years 5 months ago #8747
by nermeen
Replied by nermeen on topic zero footprint on the device
yes, the temp path is used in case of pdf manipulation (create, move, copy pages, .... etc)
So for simple render it wont be used.
So for simple render it wont be used.
Time to create page: 0.405 seconds