Can we get a string from a third party App silently?

Hi All!

I have looked at getting data from a third party app here:
http://opendatakit.org/help/form-design/examples/#string_3rd_party

This is almost exactly what our client needs. It works wonderfully, except
for a small thing. It currently shows a button on the form. Only when the
button is clicked, is the given intent called.

Is there a way to get the data without showing the button on the screen?
Can we silently get the string from the third party App?

Regards,
Devdatta

Not without a code change. The button was originally added because the app
didn't have the original value of the field, so it would otherwise
continually get a new value. Also, if you are using the app to do things
like capture blood pressure readings, it would clearly not be a good idea
to always get new data, as any review of the entered form data would
confound things.

The code change is fairly simple. In addition to the "ex:..." appearance
attribute, we could recognize an "ex-immediate:..." appearance attribute
that would invoke the 'onClick' action of the button when the widget is
created (with special handling here to detect when the widget is being
re-created after returning from the 3rd party app, and to not (re)invoke
the 3rd party app in that instance).

I would just have this be a modification in the behavior of these Ex...
widgets.

Code contributions are welcomed.

Mitch

ยทยทยท On Tue, Jun 11, 2013 at 5:08 AM, Devdatta Tengshe wrote:

Hi All!

I have looked at getting data from a third party app here:
http://opendatakit.org/help/form-design/examples/#string_3rd_party

This is almost exactly what our client needs. It works wonderfully, except
for a small thing. It currently shows a button on the form. Only when the
button is clicked, is the given intent called.

Is there a way to get the data without showing the button on the screen?
Can we silently get the string from the third party App?

Regards,
Devdatta

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

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