fieldTask is an Android client for Smap Server that extends odkCollect with Task Management functionality. It depends on a modified version of odkCollect referenced as a library.
Follow the latest news about Smap on our blog and on twitter @dgmsot.
- Install Android Studio
- In Android Studio open the SDK manager (from the tools menu)
- Under "Extras" install:
- Android Support Repository
- Android Support Library
- Google Play Services
- Google Repository
- Clone as a GIT project into Android Studio
- Select fieldTask and run as an Android application
Instructions on installing a Smap server can be found in the operations manual here
A user of fieldTask can be assigned tasks to complete as per this video.
Smap Server supports completing surveys using web forms as well as on Android devices. This isn't as mature as as the Android client however it does already support an updated version of the Task Management API.
https://hostname/instanceXML/{survey id}/0?datakey={key name}&datakeyvalue={value of key}
https://{hostname}/submission/{instanceid}
Note the instance id of the existing data is included in the instanceXML. It should be replaced with a new instance id before the results are submitted. However the instance id of the data to be replaced needs to be included in teh submission URL.
This API allows you to maintain data using surveys. In the following video the data is published on a map, however it could also be published in a table as a patient registry or list of assets. fieldTask needs to be customised to access these links using the data keys in a similar way to web forms.
- Code contributions are very welcome.
- Issue Tracker
This project includes:
- the odkCollect Library of (http://opendatakit.org/) from the University of Washington
- the Android SDK from [MapBox] (https://www.mapbox.com/)