Media as Questions

I see some code in place that would show an image in the Question Text
but I am not able to make it work with the xform I have.

Is it fully implemented? Can you give me an example of an xform?

Regards
Shilpa

Hi Shilpa,

Do you need that functionality right now? If not, I would hold off; it is
still in flux.

This functionality is in the ODK Collect release we are currently QAing with
javarosa, which is why it is in the code tip (it has been
soon-to-be-released for about 3 weeks now); the rest of ODK Collect should
not be impacted by the bugs we are working on as long as you don't develop
forms with the new capabilities. Once we get that released, I have changes
to add an optional splash screen and customized image to the form-start
page.

The underlying javarosa library has a few bugs in it that have not yet been
resolved (e.g., I believe it only works for one form; switching to a second
form breaks) and the API to access the images, etc. is still being finalized
(e.g., http://bitbucket.org/javarosa/javarosa/wiki/ITextAPI ) There is a
javarosa e-mail thread on changing this quite significantly; in particular,
the 'form' attribute will hopefully be renamed 'type' before it gets
released, and the API in the code will hopefully be changed from
getSpecialFormQuestionText to getPromptTextByType, etc.

Mitch

··· On Thu, Aug 12, 2010 at 12:52 PM, Shilpa Vijayan wrote:

I see some code in place that would show an image in the Question Text
but I am not able to make it work with the xform I have.

Is it fully implemented? Can you give me an example of an xform?

Regards
Shilpa

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

--
Mitch Sundt
Software Engineer


University of Washington
msundt@cs.washington.edu

I see.. well, the functionality would have been very useful for the
surveys we were developing now...
for instance they always give these handouts with images to people who
take the survey to explain the the questions on the form
and they were in fact asking for it to be implemented on the phone..
But if it is not yet supported I will look at implementing a
workaround.. maybe an external app that displays images on the phone
etc.

Thanks
Shilpa