Skip to content
Snippets Groups Projects
  1. Jun 06, 2016
  2. Jun 03, 2016
    • Kristin Muterspaw's avatar
      SensorSampleActivity nows uses SensorSampleService to do all communication... · e4572697
      Kristin Muterspaw authored
      SensorSampleActivity nows uses SensorSampleService to do all communication with the sensors and writing to the database. If it's a sample then the Service is started, contacts the sensor, writes to the database once, and then the service is told to stop sampling. If it's streaming, then a handler is started to continuously contact and write to the database. The Service now uses a 'Wake Lock' which means the CPU stays on even if the screen is off. Can stream with screen off now.
      1.6.0
      e4572697
  3. May 27, 2016
  4. May 26, 2016
    • Kristin Muterspaw's avatar
      In My Documents activity, when an item is pressed, Field Day checks whether... · 66e79553
      Kristin Muterspaw authored
      In My Documents activity, when an item is pressed, Field Day checks whether it's a directory or file. If it's a directory, then the list of files is replaced with the file in the selected directory and the parent directory of that one so the user can go back if they want. If it's a file, it opens My Document Viewer and displays the file. PDFs are rendered as bitmaps in Android, so those are handled separately than text files. My Document Viewer currently only works for PDFs. PDF is rendered!
      1.5.2
      66e79553
    • Kristin Muterspaw's avatar
    • Kristin Muterspaw's avatar
      NotePad opens the 'My Documents' activity. Again, these icons will change,... · d514a4a1
      Kristin Muterspaw authored
      NotePad opens the 'My Documents' activity. Again, these icons will change, currently just adding the functionality. On My Documents activity, there's a button to download files and asks the user to input the url and base directory path. These directories must be publicly accessible and have indexing enabled. Field Day retrieves a list of files in the base directory path and displays them to the user in an AlertDialog as a multi-check list. If the user clicks on an item that is also a directory, then that task of looking for files is basically executed again using that different path. Once the user has selected all of the file to download, Field Day downloads them one by one, creating local filesystem to match the remote one, all under 'myDocuments' in the external storage directory for Field Day. After downloading, the list of files is displayed to the user -- if it's a folder, a folder icon is shown next to the name, if it's a file, a file icon is shown next to the name. Testing and working with https://cluster.earlham.edu/~buzzlightyear/pdfs/. Opened the downloaded files in the an external file application on the Nexus to check and the Pdfs were downloaded.
      1.5.0
      d514a4a1
  5. May 25, 2016
    • Kristin Muterspaw's avatar
      'NotePad' under 'Lab Notebook' opens the activity that will be used for... · 95c2520c
      Kristin Muterspaw authored
      'NotePad' under 'Lab Notebook' opens the activity that will be used for downloading and opening pdfs from a remote server. The icons will change eventually, but since NotePad was already there, I used that for initial code. Inside that activity there's a button that says 'Download Files' that opens a popup asking for the URL and path of the directory. The activity goes out and gets a list of files from that directory on the remote machine (Indexing must be enabling by the web server on the remote machine). The activity shows a multi-select interface where the user can choose which files or folders to download. Checking the boxes and hitting 'Download' doesn't actually do anything right now.
      1.4.4
      95c2520c
  6. May 23, 2016
  7. May 19, 2016
    • Kristin Muterspaw's avatar
      Google Drive Connectivity in Lab Notebook -> Google Drive icon. Field Day asks... · 5be25d9a
      Kristin Muterspaw authored
      Google Drive Connectivity in Lab Notebook -> Google Drive icon. Field Day asks for permission to access stuff created by Field Day. On start it connects to the drive account and queries all of the files and folders in root drive directory that were created by Field Day if any exists. There are two buttons: Create File and Create Folder. The both work and ask for the user to input the name of the file or folder they want. It currently only creates them in the root directory. After creating, Field Day refreshes the list of objects in drive.
      1.4.2
      5be25d9a
  8. May 18, 2016
  9. May 17, 2016
  10. May 16, 2016
  11. May 13, 2016
  12. May 12, 2016
  13. May 11, 2016
  14. May 05, 2016