Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page will walk you through the steps of integrating Dimagi's area mapping application with your CommCare ODK app.

Configuration

  1. Download and install the area mapping application on your device
  2. Navigate to the form builder for your app on CommCare HQ
  3. Navigate to where you want to insert the question
  4. Add an "Android App Callout" question type under the "Advanced" tab
  5. Create an ID and label as you would a normal question
  6. Under "Intent ID" write: org.commcare.mapping.AreaCalculator
  7. Under "Logic" you can enforce the same things as you would a normal question, IE enforce this must be a realistic value, non-null, etc
  8. That's it! To read more about what's going on under the hood see this page.