Personal tools
GeoTagger.xml
This is a simple geo-tagging XForm. Copy it to /sdcard/odk/forms/GeoTagger.xml
Size 1.0 kB - File type text/xmlFile contents
<?xml version="1.0"?> <h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa"> <h:head> <h:title>GeoTagger</h:title> <model> <instance> <geotagger id="GeoTaggerV1" > <DeviceId/> <Image/> <Location/> <Description/> </geotagger> </instance> <bind nodeset="/geotagger/DeviceId" type="string" jr:preload="property" jr:preloadParams="deviceid"/> <bind nodeset="/geotagger/Image" type="binary"/> <bind nodeset="/geotagger/Location" type="geopoint"/> <bind nodeset="/geotagger/Description" type="string"/> </model> </h:head> <h:body> <upload ref="Image" mediatype="image/*"> <label>Please capture an image.</label> </upload> <input ref="Location"> <label>Now, capture your location.</label> </input> <input ref="Description"> <label>Describe the image and where you are.</label> </input> </h:body> </h:html>
Click here to get the file