2 title: "3.9 Using Field Book App"
11 ![]({{"assets/images/image21.png" | relative_url }})
13 SGN databases support the Android Field Book App for collecting phenotypic data in the field with tablet computers. The app is available here:
15 [*https://play.google.com/store/apps/details?id=com.fieldbook.tracker*](https://play.google.com/store/apps/details?id=com.fieldbook.tracker)
17 - The app can also be downloaded directly from the Google Play store. There is no charge for the app.
19 - Field Book App requires two files for collecting data: Field layout file and trait file.
21 - SGN databases can generate the field layout file and trait file, which can be downloaded onto your computer, then transferred to an Android tablet device.
26 1. Creating a [*field layout file*](#creating-layout-files) based on the design of field trial
28 2. Creating a [*trait file*](#creating-trait-files) from the list of traits
30 3. Downloading the field layout file and trait file from the database to your computer
32 4. Downloading the field layout file and trait file to the tablet (where the Field Book App is installed)
34 5. Collecting phenotypes
36 6. Exporting phenotypes from Field Book App to your computer
38 7. [*Uploading the exported phenotype file*](#uploading-pheno-files) from your computer to the database
40 3.9.1 Creating Field Layout Files for the Field Book App {#creating-layout-files}
41 --------------------------------------------------------
43 There are two alternative methods for creating “Field Layout Files”.
45 1. Using “Field Book Tools” page
47 2. Using “Trial Detail” page.
49 ### 3.9.1.1 Creating “Field Layout Files” by using “Field Book Tools” page.
51 To access “Field Book Tools” page, clicking on “Field Book App” in the “Manage” menu.
53 ![]({{"assets/images/image170.png" | relative_url }})
55 On the “Field Book Tools” page, clicking on “New”
57 ![]({{"assets/images/image253.png" | relative_url }})
59 On the “Download Fieldbook” window, selecting trial name and data level (plots or plants), then clicking on “Submit” button.
60 A treatment can be selected, which allows you to record phenotypes based on treatment application.
61 A list of traits can be selected, which provides a summary of an accession's global performance for those traits in the Fieldbook.
63 ![]({{"assets/images/image337.png" | relative_url }})
65 If the field book layout file was successfully created, a pop-up window will indicate that the field book layout file was saved successfully. Clicking on the file name will immediately download the file onto your computer. The file is also available to download on the “Field Book Tools” page, if you need to re-download it.
67 ![]({{"assets/images/image183.png" | relative_url }})
69 To download field layout file to your computer, clicking on “Download File”, the file can then be transferred to your tablet. If you no longer want to keep the field layout file, clicking on “Delete Layout File”.
71 ![]({{"assets/images/image257.png" | relative_url }})
73 ### 3.9.1.2 Creating “Field Layout Files” by using “Trial Detail” page.
75 To create “Field Layout Files”, go to the “Trial Detail” page of the trial that you want to create the file. On the “Trial Detail” page, scrolling down to the bottom of the page to find “Android Field Book Layout” in the “Files” section, then clicking on the “Create Field Book” link.
77 ![]({{"assets/images/image89.png" | relative_url }})
79 Clicking on the “Create Field Book” link will open a new window showing the name of the trial that you selected, as well as data level (plots or plants).
80 A treatment can be selected, which allows you to record phenotypes based on treatment application.
81 A list of traits can be selected, which provides a summary of an accession's global performance for those traits in the Fieldbook.
82 To proceed, clicking on “Submit” button.
84 ![]({{"assets/images/image161.png" | relative_url }})
86 If the field book layout file was successfully created, a pop-up window will indicate that the field book layout file was saved successfully. Clicking on the file name will immediately download the file onto your computer. The file is also available to download on the “Field Book Tools” page, if you need to re-download it.
88 ![]({{"assets/images/image183.png" | relative_url }})
90 To download field layout file to your computer, clicking on “Download File”, the file can then be transferred to your tablet. If you no longer want to keep the field layout file, clicking on “Delete Layout File”.
92 ![]({{"assets/images/image94.png" | relative_url }})
94 3.9.2 Creating Trait Files for the Field Book App {#creating-trait-files}
95 -------------------------------------------------
97 Steps to Create a Trait File:
99 ### 3.9.2.1 Creating a Trait List
101 After you logged in, lists can be created and managed using the Search Wizard or the "Lists" link. For more information on how to create lists, click [*here*]({{site.baseurl}}{% link 01_basic_website_usage.md%}#working-with-lists).
103 ![]({{"assets/images/image325.png" | relative_url }})
105 ### 3.9.2.2 Creating a Trait File
107 After you have your trait list, clicking on the "**Field Book App**" link found under the "**Manage**" menu tab. This will take you to the “Field Book Tools” page.
109 ![]({{"assets/images/image133.png" | relative_url }})
111 To create a new trait file, finding the heading “Trait Files”, then clicking on the “New” link.
113 ![]({{"assets/images/image146.png" | relative_url }})
115 Clicking on the "New" link will open a dialogue box titled "Create Trait File". Please enter your “Trait file name” and select “List of traits to include” from drop-down list that you previously created. You can only use traits included in the list. Check the box titled "Include Notes Trait" if you would also like to record and upload general plot notes in the field. Click "OK" to submit.
117 ![]({{"assets/images/image134.png" | relative_url }})
119 If your trait file was successfully created, a new window will indicate that the trait file was saved, then clicking on “Close”.
121 ![]({{"assets/images/image174.png" | relative_url }})
123 After the trait file was saved, you will see your file listed in the “Field Book Tools” page. Clicking on “Download” link to download the trait file to your computer.
125 ![]({{"assets/images/image163.png" | relative_url }})
127 After downloading the trait file to your computer, the file can be transferred to an Android Tablet. You need the Android Field Book App to open the file. The Android Field Book App can be downloaded at: *http://www.wheatgenetics.org/bioinformatics/22-android-field-book*
129 3.9.3 Transferring Files from Your Computer to Android Tablet
130 -------------------------------------------------------------
132 ### Files on your computer
134 After downloading, Field Layout files and Trait files can be found in the “Downloads” folder of your computer. Field Layout files on your computer will have a prefix “fieldbook\_layout\_” added to the beginning of the file name. For example: **"2014-01-28\_19:14:34\_Trial Demo\_location 6767.xls"** on the the database website will be saved as **"field\_book\_layout\_2014-01-28\_19:14:34\_Trial Demo\_location 6767.xls"** on your computer.
136 ![]({{"assets/images/image142.png" | relative_url }})
138 The files can be transferred to Android tablet by copying the files into the tablet's Internal Storage File.
140 ### Files on your Android tablet
142 To transfer Field Layout file and Trait file to your Android tablet, connecting an Android tablet to your computer, then clicking on tablet icon on your computer. Clicking on the tablet icon will open a window showing an “Internal Storage” file.
144 ![]({{"assets/images/image16.png" | relative_url }})
146 After you installed the Android Field Book App, all files for the app are stored in the “fieldBook” folder within the “Internal storage” folder.
148 ![]({{"assets/images/image314.png" | relative_url }})
150 Within the “fieldBook” folder, there are five sub-folders:
162 **Field Layout files must be copied into the “field\_import” folder.**
164 ![]({{"assets/images/image285.png" | relative_url }})
166 **Trait files must be copied into the “trait” folder.**
168 ![]({{"assets/images/image252.png" | relative_url }})
170 You can either drag and drop, or copy the Field Layout file and the Trait file from your computer to the folders in your Android tablet.
173 3.9.4 Setting up “Field Book App” for data collection
174 -----------------------------------------------------
176 After you transferred the Field Layout file and Trait file from your computer to Android tablet, you still need to set up “Field Book App” on your tablet for data collection.
178 To set up the Field Book App:
180 1. **To open the Field Book App in the Android Tablet, clicking on the Field Book App icon, which is a green rectangle.**
181 <img src='{{"assets/images/image175.png" | relative_url }}' alt="Field Book App.png" width="238" />
183 2. **To import Field Layout files, clicking on the "Fields" section of the main menu of the Field Book App.**
184 <img src='{{"assets/images/image12.png" | relative_url }}' alt="Import Field Layout File .png" width="237" />
186 Clicking on the "Fields" tab will open a new dialogue that will let you select the file that you want to import.
188 <img src='{{"assets/images/image115.png" | relative_url }}' alt="Choose Field File.png" width="238" />
190 Choosing a Field File will generate a new dialogue that will ask you to choose between an Excel or CSV format. Since the data from the database is in Excel format, choose the Excel option.
192 <img src='{{"assets/images/image258.png" | relative_url }}' alt="Fields Excel.png" width="241" />
194 After submitting the file format, a final dialogue box will appear. Please provide information about the file that you want to import. Please ensure that "plot\_name" is set as the unique identifier. To finalize the process, clicking “OK” button.
196 <img src='{{"assets/images/image342.png" | relative_url }}' alt="Field Import Info.png" width="244" />
198 3. **To import Trait Files, clicking on the "Traits" tab on the main menu of the Field Book App.**
199 <img src='{{"assets/images/image246.png" | relative_url }}' alt="Import Field Layout Files Tablet.png" width="240" />
200 Then, clicking on the three dots symbol found on the upper right corner of the Field Book screen. This will open a drop down menu with the choices "Import" and "Export". Clicking on "Import"
201 <img src='{{"assets/images/image177.png" | relative_url }}' alt="import traits.png" width="243" />
202 Clicking on "import" will open a new dialogue that displays a list of trait files that you can select to import to the Field Book App.
203 <img src='{{"assets/images/image281.png" | relative_url }}' alt="import traits dialogue.png" width="240" />
204 The trait file is now imported into the Field Book App. The traits page will show all trait files and available traits.
205 <img src='{{"assets/images/image184.png" | relative_url }}' alt="traits page.png" width="320" />
208 3.9.5 Exporting Files from Field Book App
209 -----------------------------------------
211 Data that were collected on the Field Book App can be exported back to your tablet folder, which can then be transferred to your computer.
213 To export files containing data from the Field Book App to your tablet, clicking on the "Export" link on the main menu page of the Field Book App.
215 <img src='{{"assets/images/image303.png" | relative_url }}' alt="Export Data.png" width="239" />
217 Clicking on the "Export" link will open a new dialogue window. To ensure that data are exported in a correct format for the database, checking the "Database Format" box, then clicking on “OK” button.
219 <img src='{{"assets/images/image157.png" | relative_url }}' alt="Export Data Database Format.png" width="245" />
221 The exported file can then be found in the “field\_export” sub-folder within the “fieldBook” folder on your tablet. Once you connect your tablet to your computer, you can directly transfer the file to your computer.
223 ![]({{"assets/images/image254.png" | relative_url }})
225 ![]({{"assets/images/image158.png" | relative_url }})
228 3.9.6 Uploading Phenotype Files to an SGN database {#uploading-pheno-files}
229 ----------------------------------------------
231 To upload phenotype files to the database, clicking on “Field Book App” in the “Manage” menu.
233 ![]({{"assets/images/image302.png" | relative_url }})
235 On the “Field Book Tools” page, clicking on “Upload” link in the “Uploaded Phenotype Files” section.
237 ![]({{"assets/images/image165.png" | relative_url }})
239 Clicking on the "Upload" link will open a new dialogue asking you to choose a file that you want to upload to the database website. Please ensure that "plot\_name" is the first column of the file to be uploaded. To make sure that the file has the correct format for uploading, click on the “Verify” button. After the file format has been verified, click on the “Store” button.
241 ![]({{"assets/images/image131.png" | relative_url }})
243 The list of uploaded phenotype files can be found on the Field Book Tools page
245 ![]({{"assets/images/image265.png" | relative_url }})
247 The uploaded files will also be seen in the corresponding “Trial Detail” page.
249 <img src='{{"assets/images/image75.png" | relative_url }}' alt="Traits Assayed.png" width="561" />