Detecting When a Form is Finalised

Hi,

I need some software of ours to run when a form is finalised.

Conceptually I need to package up the form instance data with any
additional media files, and distribute the package on an AdHoc WiFi
network.

Is there an Intent broadcast, or any other mechanism, to know when a
form is finalised and the path to the finalised data?

With thanks

-Corey

No.

As a work-around, you could periodically issue a query against the instance
provider to return all submissions that have been finalized since a given
time. Note that finalized, sent and failed-to-send are all status codes
written to the same status value, so if you may also be submitting the
forms, you would need some extra logic to pick those conditions apart.

Mitch

··· On Mon, Oct 29, 2012 at 8:20 PM, Corey Wallis wrote:

Hi,

I need some software of ours to run when a form is finalised.

Conceptually I need to package up the form instance data with any
additional media files, and distribute the package on an AdHoc WiFi
network.

Is there an Intent broadcast, or any other mechanism, to know when a
form is finalised and the path to the finalised data?

With thanks

-Corey

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

Thanks for letting me know. I'll look into the use of the instance provider.

I think this could be a potentially useful feature for people other
than myself. With this in mind is the Issues list the right place to
note it is a feature request?

https://code.google.com/p/opendatakit/issues/list?q=label:Collect

With thanks.

-Corey

··· On Wed, Oct 31, 2012 at 1:23 AM, Mitch S wrote: > No. > > As a work-around, you could periodically issue a query against the instance > provider to return all submissions that have been finalized since a given > time. Note that finalized, sent and failed-to-send are all status codes > written to the same status value, so if you may also be submitting the > forms, you would need some extra logic to pick those conditions apart. > > Mitch > > > On Mon, Oct 29, 2012 at 8:20 PM, Corey Wallis wrote: >> >> Hi, >> >> I need some software of ours to run when a form is finalised. >> >> Conceptually I need to package up the form instance data with any >> additional media files, and distribute the package on an AdHoc WiFi >> network. >> >> Is there an Intent broadcast, or any other mechanism, to know when a >> form is finalised and the path to the finalised data? >> >> With thanks >> >> -Corey >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitchellsundt@gmail.com > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Yes.

Note that you might be able to monitor for state changes on the cursor of
the content provider. Not sure how that works cross-process, but that is
the mechanism to automatically detect and update rows in a list view as the
underlying data changes.

Mitch

··· On Tue, Oct 30, 2012 at 5:21 PM, Corey Wallis wrote:

Hi Mitch,

Thanks for letting me know. I'll look into the use of the instance
provider.

I think this could be a potentially useful feature for people other
than myself. With this in mind is the Issues list the right place to
note it is a feature request?

https://code.google.com/p/opendatakit/issues/list?q=label:Collect

With thanks.

-Corey

On Wed, Oct 31, 2012 at 1:23 AM, Mitch S mitchellsundt@gmail.com wrote:

No.

As a work-around, you could periodically issue a query against the
instance
provider to return all submissions that have been finalized since a given
time. Note that finalized, sent and failed-to-send are all status codes
written to the same status value, so if you may also be submitting the
forms, you would need some extra logic to pick those conditions apart.

Mitch

On Mon, Oct 29, 2012 at 8:20 PM, Corey Wallis corey@servalproject.org wrote:

Hi,

I need some software of ours to run when a form is finalised.

Conceptually I need to package up the form instance data with any
additional media files, and distribute the package on an AdHoc WiFi
network.

Is there an Intent broadcast, or any other mechanism, to know when a
form is finalised and the path to the finalised data?

With thanks

-Corey

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com