Questions about enhanced external app functionality

Hi all,

I'm a new developer working with SEL at Columbia, just starting to get my
feet wet with ODK and the related toolset.

I've begun work on an external app that aims to streamline the collection
of general Facility information, and was very happy to find the new
enhanced external app functionality! The initial tests I've done worked
well, but I've got a few questions:

  1. I need to use a field-list group to populate multiple fields from the
    external app. Is there a way to define the intent attribute (or custom
    attributes in general) via XLSForm? Or at the moment does this need to be
    done manually in the XML?

  2. When the component specified by the intent isn't found on the device,
    the message says to enter the data manually. With the field-list group, the
    fields don't seem to be editable... am I missing something?

  3. In the source code for ExStringWidgethttps://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/widgets/ExStringWidget.java?repo=collect,
    it indicates that the text of the "Launch" button can be changed
    via jr:itext()... this doesn't seem to work for the field-list group,
    correct?

Thanks!
Jon

(1) I don't think so (there are a number of extra attributes that are not
able to be specified in XLSFrom -- e.g., accuracyThreshold)

(2) probably an oversight; not surprised, given the complexity of the
change.

(3) again, probably an oversight.

Fixes for these issues are welcome. They are edge cases that are unlikely
to be fixed by the core team.

··· On Thu, May 15, 2014 at 11:17 AM, Jonathan Wohl wrote:

Hi all,

I'm a new developer working with SEL at Columbia, just starting to get my
feet wet with ODK and the related toolset.

I've begun work on an external app that aims to streamline the collection
of general Facility information, and was very happy to find the new
enhanced external app functionality! The initial tests I've done worked
well, but I've got a few questions:

  1. I need to use a field-list group to populate multiple fields from the
    external app. Is there a way to define the intent attribute (or custom
    attributes in general) via XLSForm? Or at the moment does this need to be
    done manually in the XML?

  2. When the component specified by the intent isn't found on the device,
    the message says to enter the data manually. With the field-list group, the
    fields don't seem to be editable... am I missing something?

  3. In the source code for ExStringWidgethttps://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/widgets/ExStringWidget.java?repo=collect,
    it indicates that the text of the "Launch" button can be changed
    via jr:itext()... this doesn't seem to work for the field-list group,
    correct?

Thanks!
Jon

--

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/d/optout.

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

Got it, thanks for the quick response Mitch.

Jon

··· On Thursday, May 15, 2014 2:17:35 PM UTC-4, Jonathan Wohl wrote: > > Hi all, > > I'm a new developer working with SEL at Columbia, just starting to get my > feet wet with ODK and the related toolset. > > I've begun work on an external app that aims to streamline the collection > of general Facility information, and was very happy to find the new > enhanced external app functionality! The initial tests I've done worked > well, but I've got a few questions: > > 1) I need to use a field-list group to populate multiple fields from the > external app. Is there a way to define the intent attribute (or custom > attributes in general) via XLSForm? Or at the moment does this need to be > done manually in the XML? > > 2) When the component specified by the intent isn't found on the device, > the message says to enter the data manually. With the field-list group, the > fields don't seem to be editable... am I missing something? > > 3) In the source code for ExStringWidget, > it indicates that the text of the "Launch" button can be changed > via jr:itext()... this doesn't seem to work for the field-list group, > correct? > > Thanks! > Jon >

Jon,

I've filed the oversights at
https://code.google.com/p/opendatakit/issues/detail?id=1002 in case
someone wants to take a crack at them.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, May 15, 2014 at 12:14 PM, Jonathan Wohl jon@jonwohl.com wrote:

Got it, thanks for the quick response Mitch.

Jon

On Thursday, May 15, 2014 2:17:35 PM UTC-4, Jonathan Wohl wrote:

Hi all,

I'm a new developer working with SEL at Columbia, just starting to get my
feet wet with ODK and the related toolset.

I've begun work on an external app that aims to streamline the collection
of general Facility information, and was very happy to find the new enhanced
external app functionality! The initial tests I've done worked well, but
I've got a few questions:

  1. I need to use a field-list group to populate multiple fields from the
    external app. Is there a way to define the intent attribute (or custom
    attributes in general) via XLSForm? Or at the moment does this need to be
    done manually in the XML?

  2. When the component specified by the intent isn't found on the device,
    the message says to enter the data manually. With the field-list group, the
    fields don't seem to be editable... am I missing something?

  3. In the source code for ExStringWidget, it indicates that the text of
    the "Launch" button can be changed via jr:itext()... this doesn't seem to
    work for the field-list group, correct?

Thanks!
Jon

--

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/d/optout.