"Time" question type doesn't get seconds only hours and minutes, any workaround?

Hi,

I need to know the exact amount of time (in seconds) between certain
questions, but the "Time" (I set it to 'readonly') question type gathers
only minutes and not seconds.

Do you know any other workaround?

Best,
Piqo

Hi Piqo,

I don't think there is a reliable way to get elapsed time between questions.
https://groups.google.com/forum/#!searchin/opendatakit/timestamp$20questions$20once/opendatakit/o4VroEqiZ2Q/shEtWMNr0SEJ
has more.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Thu, Feb 11, 2016 at 4:33 PM, El Piqo piqoni@gmail.com wrote:

Hi,

I need to know the exact amount of time (in seconds) between certain
questions, but the "Time" (I set it to 'readonly') question type gathers
only minutes and not seconds.

Do you know any other workaround?

Best,
Piqo

--

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.

Hi all,

Would a call to an external app (documented here: https://opendatakit.org/help/form-design/external-apps/ ) that returns time as a string a viable workaround for this problem? It appears that there's been some attention to this in github (https://github.com/opendatakit/collect/issues/140) it doesn't look like there will be a programmatic solution in Collect anytime soon.

Thanks,
Chris C.

Hi,

Had my developer try the example that Mitch Sundt provided. I did not realize that the external program would require a button click to launch the external app. That's a deal breaker. I thought this would call the app and store the result like a 'calculate' item type. Using the time widget is easier as it gives current time as a default value -- one can just swipe through to the next item and get the stamp. The downside is that the widget is only accurate to the last full minute. Not ideal.

Yaw was right again...

Chris

Yaw: I'll take this up in the github discussion you've referenced.

Chris Corey

This is not available as part of the form capture.

However, for user studies, we have a UI event logging feature...

  • Log all user interface activity into a SQLite database. Logging is
    disabled by default.
··· * * The logging database will be "/sdcard/odk/log/activityLog.db" * * Logging is enabled if the file "/sdcard/odk/log/enabled" exists. *

But you'd have to pull that off of the device yourself.

It should log all UI interactions, though some of the newer features may
not be instrumented to create an interaction entry.

On Sun, Feb 14, 2016 at 12:38 AM, Yaw Anokwa yanokwa@nafundi.com wrote:

Hi Piqo,

I don't think there is a reliable way to get elapsed time between
questions.

https://groups.google.com/forum/#!searchin/opendatakit/timestamp$20questions$20once/opendatakit/o4VroEqiZ2Q/shEtWMNr0SEJ
has more.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Thu, Feb 11, 2016 at 4:33 PM, El Piqo piqoni@gmail.com wrote:

Hi,

I need to know the exact amount of time (in seconds) between certain
questions, but the "Time" (I set it to 'readonly') question type gathers
only minutes and not seconds.

Do you know any other workaround?

Best,
Piqo

--

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.

--

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

Hi Chris,

I think that would work, but I'm just not sure it'd be fast enough to
be useful. Make a quick prototype and report back!

Yaw

··· On Thu, Dec 15, 2016 at 12:31 PM, wrote: > Hi all, > > Would a call to an external app (documented here: https://opendatakit.org/help/form-design/external-apps/ ) that returns time as a string a viable workaround for this problem? It appears that there's been some attention to this in github (https://github.com/opendatakit/collect/issues/140) it doesn't look like there will be a programmatic solution in Collect anytime soon. > > Thanks, > Chris C. > > -- > -- > 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.

Hi Chris,

Time between questions is a feature that folks have asked for and
https://github.com/opendatakit/collect/issues/257 is the issue we've
filed to track it. Can your developer help contribute to designing and
building this feature?

Yaw

··· On Wed, Dec 28, 2016 at 5:40 PM, wrote: > Hi, > > > Had my developer try the example that Mitch Sundt provided. I did not realize that the external program would require a button click to launch the external app. That's a deal breaker. I thought this would call the app and store the result like a 'calculate' item type. Using the time widget is easier as it gives current time as a default value -- one can just swipe through to the next item and get the stamp. The downside is that the widget is only accurate to the last full minute. Not ideal. > > Yaw was right again... > > Chris > > -- > -- > 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.