This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" 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>Basic Form</h:title> | |
<model> | |
<instance> | |
<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/02FD4762-52FB-404C-9AF1-5F67894D1521" uiVersion="1" version="528" name="Basic Form"> | |
<q_name/> | |
<orx:meta xmlns:cc="http://commcarehq.org/xforms"><orx:deviceID/><orx:timeStart/><orx:timeEnd/><orx:username/><orx:userID/><orx:instanceID/><cc:appVersion/><cc:location/></orx:meta></data> | |
</instance><instance id="commcaresession" src="jr://instance/session"/> | |
<bind nodeset="/data/q_name" type="xsd:string" required="true()"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" 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>Question Types</h:title> | |
<model> | |
<instance> | |
<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/C2D2AE89-CF6F-4EB3-8D92-0805C479376D" uiVersion="1" version="528" name="Question Types"> | |
<intro/> | |
<q_text/> | |
<q_int/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y2NhcHA6IGh0dHA6Ly9iaXQubHkvMU5JMUl6MyBzaWduYXR1cmU6IEvECygFUhiUH3TRjC0lClQrpLR7lG//IpDYpRH7ComtZRjTirteXmPyM9fRgbPZ9K6jG9zEms9WQj55Uo7jTujKNYThjU8rJJmWLouJBr/YnWobEupwzn6DP2FavPF1YLPbp0ZctOfymW3m4j3VZ0lR2dMOjmInMSBiInqICKid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" 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>Basic Form</h:title> | |
<model> | |
<instance> | |
<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/02FD4762-52FB-404C-9AF1-5F67894D1521" uiVersion="1" version="549" name="Basic Form"> | |
<q_name/> | |
<orx:meta xmlns:cc="http://commcarehq.org/xforms"><orx:deviceID/><orx:timeStart/><orx:timeEnd/><orx:username/><orx:userID/><orx:instanceID/><cc:appVersion/><cc:location/></orx:meta></data> | |
</instance><instance id="commcaresession" src="jr://instance/session"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" 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>Update a Case</h:title> | |
<model> | |
<instance> | |
<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/4B1B717C-0CF7-472E-8CC1-1CC0C45AA5E0" uiVersion="1" version="549" name="Update a Case"> | |
<text/> | |
<singleselect/> | |
<multiselect/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" 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>Basic Form</h:title> | |
<model> | |
<instance> | |
<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/02FD4762-52FB-404C-9AF1-5F67894D1521" uiVersion="1" version="549" name="Basic Form"> | |
<q_name/> | |
<meta xmlns:cc="http://commcarehq.org/xforms"><deviceID/><timeStart/><timeEnd/><username/><userID/><instanceID/><appVersion/><location/></meta></data> | |
</instance> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dimagi.test.external; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Parcel; | |
import android.util.Pair; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.Button; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dimagi.test.external; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Parcel; | |
import android.util.Pair; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.Button; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String getCases(){ | |
try{ | |
String responseAccumulator = ""; | |
String baseURL = "https://www.commcarehq.org/a/%s/api/v0.5/case/?format=xml&limit=100"; | |
String queryURL = String.format(baseURL, domain); | |
String authString = username + ":" + password; | |
System.out.println("auth string: " + authString); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GRADLE_HOME=/Users/willpride/Libraries/gradle-2.7 | |
export PATH=$PATH:$GRADLE_HOME/bin | |
source /usr/local/bin/virtualenvwrapper.sh | |
export PATH=$PATH:/Users/willpride/jython2.5.3/bin | |
export ANDROID_HOME=/Users/willpride/Library/Android/sdk | |
export NVM_DIR="/Users/willpride/.nvm" | |
export STUDIO_JDK="/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk" | |
export JAVA_HOME=$("/usr/libexec/java_home") | |
export PATH=$PATH:/Users/willpride/Library/Android/sdk/platform-tools | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm |
OlderNewer