- Posts: 580
- Thank you received: 67
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Submit your requests and polls about new features
Saving annot to Database as Database/JSON ?
11 years 6 days ago #8624
by emanuele
Replied by emanuele on topic Saving annot to Database as Database/JSON ?
The synchronization feature is not supported.
We can only help you on SDK features.
However, it could be a good feature to be developed, but at the moment it is not in our roadmap.
We can only help you on SDK features.
However, it could be a good feature to be developed, but at the moment it is not in our roadmap.
- imran.nazeer
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
11 years 6 days ago #8625
by imran.nazeer
Replied by imran.nazeer on topic Saving annot to Database as Database/JSON ?
@Emanuele - Yes sync is not supported by Radaee. So we decided to do it.
What i need is, am creating a annot say., Circle. I want that points which i;m creating annot in local database or any format.
Then on opening the pdf again, the points which stored in local db to be rendered.
I wonder, how you still save the points of the annot even after closing/killing the app. Sure, it will not be in variable. I need this answer for my problem.
Hope you got what i mean .
thanks.
What i need is, am creating a annot say., Circle. I want that points which i;m creating annot in local database or any format.
Then on opening the pdf again, the points which stored in local db to be rendered.
I wonder, how you still save the points of the annot even after closing/killing the app. Sure, it will not be in variable. I need this answer for my problem.
Hope you got what i mean .
thanks.
11 years 6 days ago #8626
by support
Replied by support on topic Saving annot to Database as Database/JSON ?
Dear Imran,
you should note that annotations are rendered within the core library and should be stored in the PDF file itself.
If you would like to do an annotations sharing mechanism there would be a couple of paths:
1 - you should create your own annotation's engine that won't use PDF specification. You will render your annotation on a transparent layer over the pdf page.
Look at the text search with word highlight in the demo project, you'll se how to get coordinates and how to write over the page canvas.
2 - you should create a mechanism that extract annotations from a file, serialize it (in a json or something else), synchronize it within a sync server.
The second way will be the better as annotation will stay in the pdf file (performances, portability, compatibility outside your application) but will be the most difficult to be written.
Synching mechanism needs some knowledge: each note need a uuid (you should create the uuid and put it on the annotation... I could guess in the annotation name/description).
Synching would work in the background when the PDF is open on the device.
You should do a scan on the page (or overall the entire document) get the annotation list, get annotation name, synch with server, get new annotation from server, add them on the right page, save the pdf file locally not to loose such annotations.
This is the support we could provide you, it's tight to our tool itself.
If you need more support on getting/setting annotation you're in the right place.
My colleagues is checking your need to store/retrive annotation as serialized structure, will be back to you as soon as possible.
you should note that annotations are rendered within the core library and should be stored in the PDF file itself.
If you would like to do an annotations sharing mechanism there would be a couple of paths:
1 - you should create your own annotation's engine that won't use PDF specification. You will render your annotation on a transparent layer over the pdf page.
Look at the text search with word highlight in the demo project, you'll se how to get coordinates and how to write over the page canvas.
2 - you should create a mechanism that extract annotations from a file, serialize it (in a json or something else), synchronize it within a sync server.
The second way will be the better as annotation will stay in the pdf file (performances, portability, compatibility outside your application) but will be the most difficult to be written.
Synching mechanism needs some knowledge: each note need a uuid (you should create the uuid and put it on the annotation... I could guess in the annotation name/description).
Synching would work in the background when the PDF is open on the device.
You should do a scan on the page (or overall the entire document) get the annotation list, get annotation name, synch with server, get new annotation from server, add them on the right page, save the pdf file locally not to loose such annotations.
This is the support we could provide you, it's tight to our tool itself.
If you need more support on getting/setting annotation you're in the right place.
My colleagues is checking your need to store/retrive annotation as serialized structure, will be back to you as soon as possible.
11 years 6 days ago #8627
by emanuele
Replied by emanuele on topic Saving annot to Database as Database/JSON ?
Do you need this feature only on iOS platform? or also on other platforms?
- imran.nazeer
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
11 years 6 days ago #8628
by imran.nazeer
Replied by imran.nazeer on topic Saving annot to Database as Database/JSON ?
Thanks for the reply.
I need this in both Android and iOS.
However in future we have planned to develop our apps in windows too. But for now ANDROID & IOS
I need this in both Android and iOS.
However in future we have planned to develop our apps in windows too. But for now ANDROID & IOS
11 years 6 days ago #8630
by support
Replied by support on topic Saving annot to Database as Database/JSON ?
Imran, serialization isn't the right approach.
It shouldn't be cross platform.
Let's Emanuele have a couple of days, he will write a knowledge base article about export/import annotations.
It won't be a fully exhaustive code but a full sample to work on.
It shouldn't be cross platform.
Let's Emanuele have a couple of days, he will write a knowledge base article about export/import annotations.
It won't be a fully exhaustive code but a full sample to work on.
Time to create page: 0.378 seconds