Server error: could not save one or more files. Please try again later!

Administering a questionnaire is not much different from admistering a quiz.

There are ways to keep the questions and answers separate from the code, reusing components and keeping everything in lists and tables.

Here is a sample for you to study:

You can load survey questions and their options from a file in your Media folder.

Ok..Thank You...

I do have couple of doubts...like first one is if i want to capture an image in offline mode wihle entering the data in the App, how to save the image in the App of the Android Phone and upload it along with the csv file into database. and the other one is how to duplicate the Screen when to design same components with same blocks but for different members? Is their any option for it?

We should be able to reduce the Blocks substantially, but we need to understand the details of the survey - your code is difficult to follow with that regard.

So, starting from scratch, you are asking each person if they have specific documents and recording which ones they have and which they don't (if these documents have a bar or QR code that would be helpful).

Is it each person or are the benefits only related to families?

Basically your App should work like this:

  1. Gather information
  2. Record information gathered
  3. Information can be viewed via the same Screen Form it was gathered.

You would also need to give each information set a unique ID and give the person/family a copy of that ID. Privacy needs to be considered too - database access needs to be restricted.

Edit: I'm not sure it is worth Boban's time fixing your file because the best approach is to re-write the App, starting with a schematic on paper that defines how it should be built in order to be fit for purpose. If the App is to be reliable, we must endevour to keep it simple.

1 Like

That's easy enough but it leads to more questions:

How many people are gathering the survey data? If the work is to be done by tens or hundreds of people that needs to be taken into account in the App - for example when applying a unique ID to an information set. Plus the more people involved in gathering, the greater the importance of security.

The image would be saved to the phone, not the App? When uploaded to a database, it would be encoded in B64 format - a text based image description that is not human readable. That means it could potentially become part of the CSV string (not file) saved in the database, but we would need to know more about the database itself, it's capabilities.

This where the number of people involved in gathering survey data is critical to privacy and security. It would be made easier if they used phones dedicated to the survey and nothing else - is that doable?

..... another aspect is - how many people/families will be surveyed? Is this work backed by the government or is it independent of them?

1 Like