Include a form at install

I'm rolling up a single purpose version of ODK Collect for a research
project where the users will only ever use one form. Is it possible to copy
the form.xml to sdcard/odk/form/ when the app is installed?

thanks,
Neil

Hi Neil,

It's possible, but you'll have to write the code.


is a good place to start.

It'd be nice if this was done in a more generic way so that you could
contribute this to trunk. That is, there is already a feature in
Collect that configures app settings from a file. If we could add an
automatic form update, that'd solve a lot of problems for deployments.

Yaw

··· On Sun, Oct 30, 2016 at 9:47 PM, Neil Hendrick wrote: > I'm rolling up a single purpose version of ODK Collect for a research > project where the users will only ever use one form. Is it possible to copy > the form.xml to sdcard/odk/form/ when the app is installed? > > thanks, > Neil > > -- > You received this message because you are subscribed to the Google Groups > "ODK Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit-developers+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

Many thanks for pointing me in the right direction.
I'll see what I can do with it.
Best,
~Neil

··· On Mon, Oct 31, 2016 at 7:01 AM Yaw Anokwa wrote:

Hi Neil,

It's possible, but you'll have to write the code.
https://stackoverflow.com/questions/8664468/copying-raw-file-into-sdcard
is a good place to start.

It'd be nice if this was done in a more generic way so that you could
contribute this to trunk. That is, there is already a feature in
Collect that configures app settings from a file. If we could add an
automatic form update, that'd solve a lot of problems for deployments.

Yaw

On Sun, Oct 30, 2016 at 9:47 PM, Neil Hendrick mojotexas@gmail.com wrote:

I'm rolling up a single purpose version of ODK Collect for a research
project where the users will only ever use one form. Is it possible to
copy
the form.xml to sdcard/odk/form/ when the app is installed?

thanks,
Neil

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/SToyBUASTLE/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

[image: --]

Neil Hendrick
[image: https://]about.me/neilhendrick
https://about.me/neilhendrick?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links
(813) 500 8112
Hendrick.Neil@gmail.com