Hi all.
Just wondered if there was an event available which I can listen for to tell me if an image has changed (either picked from the gallery, or a photo taken, or annotated etc). Can't see anything obvious in the documentation.
Apologies if I've missed something.
Cheers for now.
Marcus.
Change Event when Image modified
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Change Event when Image modified
HI Marcus,
The Image element will only post the image data to the server if there is any change (e.g. the user took a photo, or picked a photo from the gallery).
So you can tell if the image has changed by checking (in your RDML program) if the Image property is present (or Annotation.Image property for separate annotation image).
The Image element will only post the image data to the server if there is any change (e.g. the user took a photo, or picked a photo from the gallery).
So you can tell if the image has changed by checking (in your RDML program) if the Image property is present (or Annotation.Image property for separate annotation image).
-
MarcusLancaster
- Posts: 48
- Joined: Wed Nov 06, 2013 1:28 am
Re: Change Event when Image modified
Hi Tony.
Ah okay thank you for that info... but what if I'm OFFLINE and need to monitor for a change and run some JavaScript?
I guess I can check for a difference in blob size... but I need to do that in an event fired when I return from the taking / picking the image.
Is there an event available?
Cheers!
Marcus
Ah okay thank you for that info... but what if I'm OFFLINE and need to monitor for a change and run some JavaScript?
I guess I can check for a difference in blob size... but I need to do that in an event fired when I return from the taking / picking the image.
Is there an event available?
Cheers!
Marcus
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Change Event when Image modified
Unfortunately there is no such event.
We can add it if it's required, let us know.
We can add it if it's required, let us know.