Importing surveys to collect-mobile

  • Asked
  • Active
  • Viewed 9571 times
0

Hello! Im trying to get familiarized with Open Foris tools. For now I want to export existing survey from desktop to android phone. Using recently updated Collect for PC (Version: 3.24.4, OS - Linux Arch). I have downloaded survey templates from this page http://www.openforis.org/materials.html, then imported them into Collect for PC without problems (except 'Edit' function didnt work), then exported to collect-mobile and transferred to phone`s memory. But android app cannot import none of those files. Says 'Failed to import survey... Make sure you are running the latest version...'. Tried latest app from Play Store and this one https://drive.google.com/drive/folders/10yVSSpDFRw7HxcHzhgmUhGkbAvAkXaGG Tried to export to mobile both published and unpublished surveys

0

Accepted answer

Dear user,
Please verify that the .collect-mobile file you exported from Collect and copied into your device is not empty.
Also, please update Collect Mobile to the latest version; you should see a detailed error message in case there is an error during survey import.
Let us know, many thanks.
Open Foris Team

0

Accepted answer

Dear colleague, I think that I got the same issue on some android phones (some phones import successfully and others did not). I have not yet understood it fully, but I suspect that this is a problem of sd card setting on the phone, i.e. your phone is not able to write to your sd card. Because when I tried to copy the folder created on a phone that could import the survey onto the right location of the phone that did not work (on sd card, Android, ...org.openforis ... data... survey); and I then started Collect, now the problematic phone was opening the survey without problem; it could simply not install it from the .collect-mobile file because he seemed to not be able to write to the sd card. Formatting the sd card, with setting as external memory, worked for those phones (they were then able to write on the sd card). I hope this helps. Bruno

0

Accepted answer

Dear Bruno,
Collect Mobile requires a permission to write on the external SD card; could it be that the user rejects that request that comes from Collect Mobile?
In a near future we will make that request a little bit less scary than what is now, explaining why such permissions are required.
Let us know, many thanks.
Open Foris Team

0

Accepted answer

Dear colleague, I tried on several phones for colleagues and I am pretty sure that when installing Collect for them I accepted authorization to the app. Redoing the same but with a new sd card solved the issue. I assumed that my colleague's initial sd card had been installed with different setting, maybe not allowing any app to write to the sd card? When there was the issue, installing Collect was successfull, and some folders had been created on the sd card (Android/data/org.openforis.collect/files/, but not down to the last folder "surveys"). When trying to load a .collect-mobile survey file, the operation failed. I don't if this helps. Best wishes, Bruno

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.