Adding question name to video name

Hi all,

I am trying to add the question name to the video name in addition to the
current time stamp. Does anyone have an idea on how i can go about
achieving this?

Regards
Samito

Samito,

I am assuming that you are referring to Video recording type questions.
Normally they'd be stored with just the time stamp (like Pictures). For
this to work I think you need modifications in Widgets-> (video question
widget) part of the ODK Collect and/or FormEntryActivity and do something
like {prompt_name}+{timestamp}+{.mpg}

Furthermore, (first) you need to know the name of the question inside ODK
collect, I tried to find the name of the prompt in this thread:

https://groups.google.com/forum/#!searchin/opendatakit-developers/xml$20name$20ayub/opendatakit-developers/Ps575c9MF9I/dezmiF2DSHcJ

Unfortunately that didn't go very far. I hope there must be some way to
this now, since there have been some revisions to ODK collect and JR since
then.

Best,
Ayub

Hi Ayub,

Thanks for your response, that is exactly what I would like to achieve and
I read the thread you shared. This has been challenging me for a while.
Also do you know how I can add icons on radio buttons or even replace the
buttons with icons maybe? Because from what I have seen it is not clear to
me which classes I must focus on. I looked at "TwoItemMultipleChoiceView"
and I cannot figure out how to add icons especially for different questions
such as: 1. Male and Female, and 2. Yes and No type of multiple choice
questions. Any advice would be appreciated.

Regards
Samito

··· On Wednesday, October 8, 2014 6:03:31 PM UTC+2, Ayub wrote: > > Samito, > > I am assuming that you are referring to Video recording type questions. > Normally they'd be stored with just the time stamp (like Pictures). For > this to work I think you need modifications in Widgets-> (video question > widget) part of the ODK Collect and/or FormEntryActivity and do something > like {prompt_name}+{timestamp}+{.mpg} > > Furthermore, (first) you need to know the name of the question inside ODK > collect, I tried to find the name of the prompt in this thread: > > > https://groups.google.com/forum/#!searchin/opendatakit-developers/xml$20name$20ayub/opendatakit-developers/Ps575c9MF9I/dezmiF2DSHcJ > > Unfortunately that didn't go very far. I hope there must be some way to > this now, since there have been some revisions to ODK collect and JR since > then. > > Best, > Ayub >

Hi Ayub,

Thanks for your response, that is exactly what I would like to achieve and
I read the thread you shared. This has been challenging me for a while.
Also do you know how I can add icons on radio buttons or even replace the
buttons with icons maybe? Because from what I have seen it is not clear to
me which classes I must focus on. I looked at "TwoItemMultipleChoiceView"
and I cannot figure out how to add icons especially for different questions
such as: 1. Male and Female, and 2. Yes and No type of multiple choice
questions. Any advice would be appreciated.

Regards
Samito

··· On Wednesday, October 8, 2014 6:03:31 PM UTC+2, Ayub wrote: > > Samito, > > I am assuming that you are referring to Video recording type questions. > Normally they'd be stored with just the time stamp (like Pictures). For > this to work I think you need modifications in Widgets-> (video question > widget) part of the ODK Collect and/or FormEntryActivity and do something > like {prompt_name}+{timestamp}+{.mpg} > > Furthermore, (first) you need to know the name of the question inside ODK > collect, I tried to find the name of the prompt in this thread: > > > https://groups.google.com/forum/#!searchin/opendatakit-developers/xml$20name$20ayub/opendatakit-developers/Ps575c9MF9I/dezmiF2DSHcJ > > Unfortunately that didn't go very far. I hope there must be some way to > this now, since there have been some revisions to ODK collect and JR since > then. > > Best, > Ayub >

Samito,

There is no good way of getting (as far as I know) the name of question in
ODK collect. Hence you can only treat your question / prompt specially
(icons/eye candy etc) if you build a 3rd party app for your special
question that returns a value back to Collect. (
http://opendatakit.org/help/form-design/external-apps/)

I haven't done this so I don't know what classes you need to focus on, but
my best guess would be widgets-> (name of the multiple/select single)
widget.

At the end of the day, survey instrument is just for the data collection
and looks and feels shouldn't be part of its main agenda. So, unless you
have great deal of time at hand, I would suggest not to go through the code
of ODK collect as it is huge and it would not work as intended I.e. even if
you implement it, male and female icons would appear on all select
one/multiple type questions, that would be really confusing.

Best,
Ayub

Samito,

You don't need to change ODK Collect to add icons to selects. Use the
Grid widget as described at

Yaw

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

On Sat, Oct 11, 2014 at 12:56 PM, Ayub nrspaggregate@gmail.com wrote:

Samito,

There is no good way of getting (as far as I know) the name of question in
ODK collect. Hence you can only treat your question / prompt specially
(icons/eye candy etc) if you build a 3rd party app for your special question
that returns a value back to Collect.
(http://opendatakit.org/help/form-design/external-apps/)

I haven't done this so I don't know what classes you need to focus on, but
my best guess would be widgets-> (name of the multiple/select single)
widget.

At the end of the day, survey instrument is just for the data collection and
looks and feels shouldn't be part of its main agenda. So, unless you have
great deal of time at hand, I would suggest not to go through the code of
ODK collect as it is huge and it would not work as intended I.e. even if you
implement it, male and female icons would appear on all select one/multiple
type questions, that would be really confusing.

Best,
Ayub

--

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.

Dr Yaw,

Thank you for you response, the grid widget does exactly what I wanted. My
other question was that, how do we link the recorded video back to the url
given in the csv file after downloading the results from ODK Aggregate,
since we are just using the time stamp and cannot add a prompt name to the
video name?

Regards
Samito

··· On Sunday, October 12, 2014 2:35:32 AM UTC+2, Yaw Anokwa wrote: > > Samito, > > You don't need to change ODK Collect to add icons to selects. Use the > Grid widget as described at > http://opendatakit.org/help/form-design/examples/#select_prompts > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Sat, Oct 11, 2014 at 12:56 PM, Ayub <nrspag...@gmail.com > wrote: > > Samito, > > > > There is no good way of getting (as far as I know) the name of question > in > > ODK collect. Hence you can only treat your question / prompt specially > > (icons/eye candy etc) if you build a 3rd party app for your special > question > > that returns a value back to Collect. > > (http://opendatakit.org/help/form-design/external-apps/) > > > > I haven't done this so I don't know what classes you need to focus on, > but > > my best guess would be widgets-> (name of the multiple/select single) > > widget. > > > > At the end of the day, survey instrument is just for the data collection > and > > looks and feels shouldn't be part of its main agenda. So, unless you > have > > great deal of time at hand, I would suggest not to go through the code > of > > ODK collect as it is huge and it would not work as intended I.e. even if > you > > implement it, male and female icons would appear on all select > one/multiple > > type questions, that would be really confusing. > > > > Best, > > Ayub > > > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Samito,

Use Briefcase and it'll download the CSV with the filename in it.

Yaw

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

On Wed, Oct 15, 2014 at 3:34 PM, Samito Sibiya sibusisosam@gmail.com wrote:

Dr Yaw,

Thank you for you response, the grid widget does exactly what I wanted. My
other question was that, how do we link the recorded video back to the url
given in the csv file after downloading the results from ODK Aggregate,
since we are just using the time stamp and cannot add a prompt name to the
video name?

Regards
Samito

On Sunday, October 12, 2014 2:35:32 AM UTC+2, Yaw Anokwa wrote:

Samito,

You don't need to change ODK Collect to add icons to selects. Use the
Grid widget as described at
http://opendatakit.org/help/form-design/examples/#select_prompts

Yaw

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

On Sat, Oct 11, 2014 at 12:56 PM, Ayub nrspag...@gmail.com wrote:

Samito,

There is no good way of getting (as far as I know) the name of question
in
ODK collect. Hence you can only treat your question / prompt specially
(icons/eye candy etc) if you build a 3rd party app for your special
question
that returns a value back to Collect.
(http://opendatakit.org/help/form-design/external-apps/)

I haven't done this so I don't know what classes you need to focus on,
but
my best guess would be widgets-> (name of the multiple/select single)
widget.

At the end of the day, survey instrument is just for the data collection
and
looks and feels shouldn't be part of its main agenda. So, unless you
have
great deal of time at hand, I would suggest not to go through the code
of
ODK collect as it is huge and it would not work as intended I.e. even if
you
implement it, male and female icons would appear on all select
one/multiple
type questions, that would be really confusing.

Best,
Ayub

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@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.