CommCare ODK Questions

Hi all,

I am trying to test out some of the D-tree forms using CommCare ODK, which I
have installed on my htc desire. I am unable to download and run the CARE
ANC application on the phone. I have tried web browsing to the raw profile
in bitbucket (
https://bitbucket.org/dtree/care-india/raw/tip/ANC/Forms/profile.xml) and in
another public url (http://dl.dropbox.com/u/77214/anc/profile.xml), but
neither worked. I then tried setting the Application Profile url from the
advanced menu in CommCare ODK. The bitbucket url caused the application to
crash and the public url just didn’t work.

How do I setup my ANC application to be downloaded CommCare ODK? Are there
additional settings needed in the profile or suite files to make this work?

Thanks,
Jon

Jon,

Yeah, the tricky part about navigating to the page is that it has to
be served up as the right MIME type by the server for the phone to see
it properly. You might be able to get that specific functionality to
work by naming the file “profile.ccpr”.

The reason the app isn’t working is almost certainly because the
application can’t see the resources because they’re only configured
for local installation. The line

            <location

authority=“local”>jr://resource/dtree_anc_suite.xml

is the issue. The app can’t see it because the suite isn’t in the
resource root, it’s online.

Theoretically, it should help to add

            <location

authority=“remote”>https://bitbucket.org/dtree/care-india/raw/tip/ANC/Forms/dtree_anc_suite.xml

to that section to provide an absolute ref for it to download from.
I’m also not sure if the resource/banner.png section will cause
problems, so you should probably remove that when you’re testing the
install.

Also, be aware that CCODK currently assumes an existing user online in
order to function (There’s no login as admin option), so make sure
you’ve registered a user on cchq first to log in as.

-Clayton

··· On Mon, Feb 14, 2011 at 3:12 AM, Jonathan Payne wrote: > Hi all, > I am trying to test out some of the D-tree forms using CommCare ODK, which I > have installed on my htc desire. I am unable to download and run the CARE > ANC application on the phone. I have tried web browsing to the raw profile > in bitbucket > (https://bitbucket.org/dtree/care-india/raw/tip/ANC/Forms/profile.xml) and > in another public url (http://dl.dropbox.com/u/77214/anc/profile.xml), but > neither worked. I then tried setting the Application Profile url from the > advanced menu in CommCare ODK. The bitbucket url caused the application to > crash and the public url just didn't work. > How do I setup my ANC application to be downloaded CommCare ODK? Are there > additional settings needed in the profile or suite files to make this work? > Thanks, > Jon

Forgot to mention for folks who are looking for help on this list:

CC ODK is very, very alpha currently, and isn’t likely to work out of
the box for much. We’re still prepping a release to go with CommCare
HQ 1.0, so in general it might not be worth testing in any situation
where it’s expected to Just Work.

-Clayton

··· On Mon, Feb 14, 2011 at 10:49 AM, Clayton Sims wrote: > Jon, > > Yeah, the tricky part about navigating to the page is that it has to > be served up as the right MIME type by the server for the phone to see > it properly. You might be able to get that specific functionality to > work by naming the file "profile.ccpr". > > The reason the app isn't working is almost certainly because the > application can't see the resources because they're only configured > for local installation. The line > > authority="local">jr://resource/dtree_anc_suite.xml > > is the issue. The app can't see it because the suite isn't in the > resource root, it's online. > > Theoretically, it should help to add > > authority="remote">https://bitbucket.org/dtree/care-india/raw/tip/ANC/Forms/dtree_anc_suite.xml > > to that section to provide an absolute ref for it to download from. > I'm also not sure if the resource/banner.png section will cause > problems, so you should probably remove that when you're testing the > install. > > Also, be aware that CCODK currently assumes an existing user online in > order to function (There's no login as admin option), so make sure > you've registered a user on cchq first to log in as. > > -Clayton > > On Mon, Feb 14, 2011 at 3:12 AM, Jonathan Payne wrote: >> Hi all, >> I am trying to test out some of the D-tree forms using CommCare ODK, which I >> have installed on my htc desire. I am unable to download and run the CARE >> ANC application on the phone. I have tried web browsing to the raw profile >> in bitbucket >> (https://bitbucket.org/dtree/care-india/raw/tip/ANC/Forms/profile.xml) and >> in another public url (http://dl.dropbox.com/u/77214/anc/profile.xml), but >> neither worked. I then tried setting the Application Profile url from the >> advanced menu in CommCare ODK. The bitbucket url caused the application to >> crash and the public url just didn't work. >> How do I setup my ANC application to be downloaded CommCare ODK? Are there >> additional settings needed in the profile or suite files to make this work? >> Thanks, >> Jon >