We use a custom development fingerprint application which enrols or verifies a fingerprint depending on the use case. This is very crucial to our study and I don’t want to lose the biometric functionality once we move to ODK-X. We launch this as an external app on a prompt in the ODK form, the app does its job and returns a value back to the form.
Now that we plan on moving to ODK-X tools, I wonder how does the external apps work with them. I have looked through the documentation but I haven’t quite figured out.
This should be doable in ODK-X! It can work with external apps.
This is a bit jargon-y, but explains the idea – external apps are referred to as “arbitrary intents”
The Android ability to call intents (i.e. use third party apps) mechanism from the link @elmps2018 provide is the doAction call. https://docs.opendatakit.org/odk-x/injected-interfaces-methods/#doaction
To define how to store multiple values or new value types used for whatever biometrics you want to store see:
NOTE: Survey automatically looks for a file name “customPromptTypes.js” that is in the same directory as the XLSX file.
An example is the breathcounter custom type:
Here is an example of a custom breathcounter and pulse-ox sensor:
NOTE: this example uses an older file structure so not as relevant where to put the files, but helpful in the looking at the form XLSX. The file structue was revised to this: https://docs.opendatakit.org/odk-x/config-file-structure/