Store array in Tracker Capture

Hi,

I am creating an Android app in which I am performing enrollments in the same way as Tracker Capture. I want to store an array while registering the enrollment. How can I create an attribute that will allow me to store an Array while enrollment?

Thanks,

Apoorv

Hi Apoorv,

I’m not sure I understand what your use case is. Feel free to extend *EnrollmentDataEntryFragmentForm.java * where you can set whatever data you retrieve from EnrollmentDataEntryFragmentFormQuery.java(which querys the database). You can retrieve the data from EnrollmentDataEntryFragment in form.getMyArray();

Regards,

Erling

···

On Mon, Apr 18, 2016 at 9:35 PM, Apoorv Patel patelapoorv9990@gmail.com wrote:

Hi,

I am creating an Android app in which I am performing enrollments in the same way as Tracker Capture. I want to store an array while registering the enrollment. How can I create an attribute that will allow me to store an Array while enrollment?

Thanks,

Apoorv


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp