Modifying the APK file to pre-fill server address

Hi,

My field officers are really struggling with setting the server name in the SERVER URL section in settings (different spellings, http instead of https, etc.). Is there a way for me to open the APK file into some editor/Android development environment, pre-fill the server name, compile the APK back, and distribute it among my field staff? I saw someone doing it on some old thread, but don't remember the method. Please help.

Thanks,
Saad

You need to:

  1. Fork our original repository: https://github.com/opendatakit/collect
  2. Implement required changes (using Android Studio)
  3. Build an APK file (also using Android Studio)
1 Like

@Saad an alternative to try is to provide a settings file for your field officers by configuring one device and sharing the config via a QR code. https://docs.opendatakit.org/collect-import-export has documentation on this.

1 Like