CommCare and Android

Hi,

I have a few questions related to CommCare on Android.

  1. I have tried the commcare on Android and it was working fine.
    However, the questions are displayed as 1-question per page. Can we
    change this and how do we change this?
  2. Does CommCare support all Android versions from 2.3?
  3. Can CommCare work on latest Andorid version (ICS)?

Thanks in advance for your support and guidance.

Regards,
Jeffrey

Jeff,

My responses are inline below

Hi,

I have a few questions related to CommCare on Android.

  1. I have tried the commcare on Android and it was working fine.
    However, the questions are displayed as 1-question per page. Can we
    change this and how do we change this?

CommCare ODK supports displaying multiple questions per screen, but you
need to specify which questions should be grouped manually by adding an
appearance attribute with the value "field-list" to the group declaration.
IE

  1. Does CommCare support all Android versions from 2.3?

CommCare ODK should support Android 2.0 and above, although there are some
bugs in some android 2.0 and 2.1 versions which are
fixed inconsistently across devices which affect the ability to cleanly
uninstall and reinstall the app.

··· On Thu, Sep 13, 2012 at 1:07 AM, Jeffrey Jose wrote:
  1. Can CommCare work on latest Andorid version (ICS)?

Yes. I run CommCare on a Nexus 7 for testing, so it should work fine.

Hi Clayton.

Re: "CommCare ODK supports displaying multiple questions per screen, but
you need to specify which questions should be grouped manually by adding an
appearance attribute with the value "field-list" to the group declaration.
IE **
"

Do you happen to have an xform that you could post as a more complete
example of how to do this? We have not yet included group declarations in
our xforms, so I'm hoping to find an example that illustrates how to use
attribute groups, and also how to extend them to group questions together
onto a single CommCare ODK screen.

Thanks, Ray

··· On Thursday, September 13, 2012 12:08:20 PM UTC-4, Clayton Sims wrote: > > Jeff, > > My responses are inline below > > On Thu, Sep 13, 2012 at 1:07 AM, Jeffrey Jose <jeffr...@gmail.com wrote: > >> Hi, >> >> I have a few questions related to CommCare on Android. >> >> >> 1. I have tried the commcare on Android and it was working fine. >> However, the questions are displayed as 1-question per page. Can we >> change this and how do we change this? >> >> CommCare ODK supports displaying multiple questions per screen, but you > need to specify which questions should be grouped manually by adding an > appearance attribute with the value "field-list" to the group declaration. > IE > > > > >> >> 1. Does CommCare support all Android versions from 2.3? >> >> CommCare ODK should support Android 2.0 and above, although there are > some bugs in some android 2.0 and 2.1 versions which are > fixed inconsistently across devices which affect the ability to cleanly > uninstall and reinstall the app. > >> >> 1. Can CommCare work on latest Andorid version (ICS)? >> >> Yes. I run CommCare on a Nexus 7 for testing, so it should work fine. > >

Ray,

Our corpora testing app has an example of this, you can see the structure
at this form:

https://www.commcarehq.org/a/corpora/apps/download/3feaa4d58cbb146167b463d9d57231da/modules-0/forms-1.xml

the group layout is in this section:

selection item59

-Clayton

··· On Mon, Oct 15, 2012 at 1:15 PM, Ray Brunsting wrote:

Hi Clayton.

Re: "CommCare ODK supports displaying multiple questions per screen, but
you need to specify which questions should be grouped manually by adding an
appearance attribute with the value "field-list" to the group declaration.
IE **
"

Do you happen to have an xform that you could post as a more complete
example of how to do this? We have not yet included group declarations in
our xforms, so I'm hoping to find an example that illustrates how to use
attribute groups, and also how to extend them to group questions together
onto a single CommCare ODK screen.

Thanks, Ray

On Thursday, September 13, 2012 12:08:20 PM UTC-4, Clayton Sims wrote:

Jeff,

My responses are inline below

On Thu, Sep 13, 2012 at 1:07 AM, Jeffrey Jose jeffr...@gmail.com wrote:

Hi,

I have a few questions related to CommCare on Android.

  1. I have tried the commcare on Android and it was working fine.
    However, the questions are displayed as 1-question per page. Can we
    change this and how do we change this?

CommCare ODK supports displaying multiple questions per screen, but you
need to specify which questions should be grouped manually by adding an
appearance attribute with the value "field-list" to the group declaration.
IE

  1. Does CommCare support all Android versions from 2.3?

CommCare ODK should support Android 2.0 and above, although there are
some bugs in some android 2.0 and 2.1 versions which are
fixed inconsistently across devices which affect the ability to cleanly
uninstall and reinstall the app.

  1. Can CommCare work on latest Andorid version (ICS)?

Yes. I run CommCare on a Nexus 7 for testing, so it should work fine.

Hi I'm having a similar issue. I wanted to try and implement this in a
form I'm using. However, I don't know where the code you provided would go
in the source XML. I've provided a sample XML code below that is a form
called test with two questions, name and age.

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:orx="http://openrosa.org/jr/xforms"
xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jr="http://openrosa.org/javarosa"
xmlns:vellum="http://commcarehq.org/xforms/vellum">
<h:head>
<h:title>Test [en]</h:title>












Nombre


Edad




Name


Age




</h:head>
<h:body>






</h:body>
</h:html>

any help would be greatly appreciated. thanks in advance

  • Irwin

Hi, Irwin,

We now support question lists in the form builder. Here is information on
our help site:
https://confluence.dimagi.com/display/commcarepublic/Form+Builder#FormBuilder-6.GroupQuestions

If you are going to manually make a question list, you first have to add a
normal group. Once you have a group you can add the attribute that Clayton
described.

Hope this helps!

Jeremy

··· On Mon, Sep 22, 2014 at 4:24 PM, Irwin Mendoza wrote:

Hi I'm having a similar issue. I wanted to try and implement this in a

form I'm using. However, I don't know where the code you provided would go
in the source XML. I've provided a sample XML code below that is a form
called test with two questions, name and age.

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="
http://openrosa.org/jr/xforms" xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="
http://openrosa.org/javarosa" xmlns:vellum="
http://commcarehq.org/xforms/vellum">
<h:head>
<h:title>Test [en]</h:title>












Nombre


Edad




Name


Age




</h:head>
<h:body>






</h:body>
</h:html>

any help would be greatly appreciated. thanks in advance

  • Irwin

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

--
Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.

That worked great. Thanks!