I am an experienced programmer but relatively new to Android development and to the ODK/Javarosa ecosystem. I am hoping I can get some advice and possibly a code example to solve a problem I have.
I need to perform several custom validations/calculations of data entered in an ODK form. For example, I'd like to calculate a check digit algorithm and also calculate z-scores. Both of these are fairly simple in Java but not possible in XPath.
Can anyone provide advice on the best way to accomplish this? Ideally, I would like to add a separate package of custom functions that can be called with parameters from the forms.
Any help/guidance greatly appreciated.