Hi I am a newbie in android development but I am charged with making a port of ODK Collect for use with partners. One thing they want is to have certain settings locked down, for instance server type, whether or not a person can delete forms, and admin password which would only be known by staff. I've been reading the message boards, creating simple apps and reading extensively on how to create default preferences.
I've got server preferenes but it seems that anything I add in admin_preferences.xml file doesn't show up. I've tried using PreferenceManager.setDefaultValues for each preference but it seems it only works for the first xml file - and never for admin_preferences.xml. I've also tried addPreferencesFromResource in the admin preferences fragment with no luck.
So obviously I am not getting something - preferences here seem a lot more complicated than my parlous state of knowledge.
so tl:dr how does one set default admin preferences in ODK Collect?