Questions tagged [javarosa]

JavaRosa is an open-source platform for data collection on mobile devices. At its core, JavaRosa is based on the XForms standard -- the official W3C standard for next-generation data collection and interchange.

For more information see the home page of JavaRosa. Note that JavaRosa (and other OpenRosa apps) use a subset of a file format called XForms to describe a form. Full documentation is available on this wiki regarding the subset of XForms which JavaRosa supports and how, including examples. Given xforms' origins in rich web clients, and mission to support application-like user experience, certain xforms features are simply inappropriate for a mobile platform, and will not be implemented.

Furthermore, JavaRosa has a defined a number of additions/customizations to the xforms spec, which address shortcomings and improves the xforms experience on mobile devices. These custom constructs are supported only by JavaRosa, and have been created when no xforms idiom is able to handle our desired use case, or the 'proper' xforms way of doing it is too complicated and resource-intensive. When customizations have been added, we have attempted to keep them as 'xform-y' as possible.

8 questions
2
votes
1 answer

Is there an XSD to validate JavaRosa XForm XML files?

What is the way to go to validate a JavaRosa xml file ? Is there an official XSD or DTD ?
Christophe Roussy
  • 16,299
  • 4
  • 85
  • 85
2
votes
1 answer

Select a node using xpath and jdom

I have an xform document
zaki
  • 23
  • 1
  • 1
  • 4
1
vote
2 answers

Xform xml parsing

In the xform xml i want to parse xml and access the id of node. It's the xform xml and i want to access the id of node test_geopoint (id=test_geopoint). But the node name will change for each xform xml.
user3201764
  • 25
  • 1
  • 1
  • 4
1
vote
1 answer

Can I add rich formatting (bold, italics, underline) on XForms labels and hints?

We are developing an XForms-based survey system. The client wants to add rich-formatting to labels and hints. Is this possible? If so, how do you define formatting on the XForm xml? Is there a reference page that I can go to? UPDATE: We're currently…
Pablo Venturino
  • 5,208
  • 5
  • 33
  • 41
0
votes
1 answer

Auto generate week number from selected date

I have an XLSForm which I use to collect survey data. I have date, so when the user select the date, the year is autoclaved and displayed as "18, 0r 19" meaning 2018 or 2019 depending on the date selected. the month is also auto generated from the…
0
votes
1 answer

ODK API : How to filter instanceIDs based on submission date

I am transferring data from ODK to another application through API. For this I am fetching the instances of an ODK form and then fetching each instance's details. What I want is to filter the form Instances(InstanceID) based on submission date so…
harsh atal
  • 411
  • 6
  • 16
0
votes
1 answer

Android Javarosa innerText repeat groups

I am trying to retrieve the innerTexts of a repeated group but I am unable to retrieve the appearance attribute or the hint. The other two hint tags i can retrieve. Any pointers?
Kevassi
  • 247
  • 1
  • 3
  • 10
0
votes
1 answer

How do i display an image instead of text for a ? on an xml form for ODK collect?

Since odk collect uses utf-8, the language that i would like the questions of the form to be in would be displayed one character at a time vs. conjoined. instead of displaying text for the question, i want the question to display an image which will…
What2107
  • 33
  • 8