To configure the GeoSciTeach application a separate Android application named GSCIConfig was created. The GSCIConfig application works by creating a XML file. The XML file contains the details of the customisable sections which are to be enabled or disabled within the main GeoSciTeach application. The main GeoSciTeach application attempts to read this XML file (created by GSCIConfig) on start up. If a customisation XML file is found on the device and successfully read, the file is parsed and the dictionary as defined in the XML is read and stored for use by the main GeoSciTeach application.
Within the main GeoSciTeach application is a local copy of the XML file. This local XML (used as default) contains all the default setting of the customisation values for the application. This local XML is used when a XML file as created by GSCIConfig is not found.
Below is an example local default XML dictionary which shows the default configurable values of the GeoSciTeach application and the format of the XML which is read by the GeoSciTeach application:
<dict>
<key>TeacherMainQuestion</key>
<string>Why and how do humans use plants?</string>
<key>CollectDataPlantCharactistics</key>
<integer>1</integer>
<key>CollectDataCamera</key>
<integer>1</integer>
<key>CollectDataAmbientData</key>
<integer>1</integer>
<key>CollectDataNotes</key>
<integer>1</integer>
<key>CollectDataVideo</key>
<integer>1</integer>
<key>CollectDataPlantZone</key>
<integer>1</integer>
<key>InfoLinksKewpaedia</key>
<integer>1</integer>
<key>InfoLinksGoogle</key>
<integer>1</integer>
<key>InfoLinksWikipedia</key>
<integer>1</integer>
<key>InfoLinksTeacherSuggestions</key>
<integer>1</integer>
<key>ShareTwitter</key>
<integer>1</integer>
<key>ShareWallwisher</key>
<integer>1</integer>
<key>ShareTumblr</key>
<integer>1</integer>
<key>MeasurementTemperature</key>
<integer>1</integer>
<key>MeasurementHumidity</key>
<integer>1</integer>
<key>MeasurementSoil</key>
<integer>1</integer>
<key>MeasurementPlaces</key>
<integer>1</integer>
<key>MeasurementHeight</key>
<integer>1</integer>
<key>MeasurementWeight</key>
<integer>1</integer>
<key>MeasurementLight</key>
<integer>1</integer>
<key>MeasurementSound</key>
<integer>1</integer>
<key>MeasurementDistance</key>
<integer>1</integer>
</dict>
If a GSCIConfig XML file has been detected in the start up of the GeoSciTeach application this local XML is overridden and all values from the GSCIConfig XML file are used.
The GSCIConfig application provides functionally to either:
- · Create a new XML
- · Edit an existing customisation XML
In providing the functionally to edit an existing customisation XML the GSCIConfig attempts to read the XML file which has been created previously. Only when a XML is successfully read and parsed will the option to edit the customisation XML be enabled.