1. 09 Jun, 2016 2 commits
  2. 08 Jun, 2016 2 commits
  3. 06 Jun, 2016 5 commits
  4. 03 Jun, 2016 1 commit
    • 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.
      e4572697
  5. 27 May, 2016 2 commits
  6. 26 May, 2016 3 commits
    • 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!
      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.
      d514a4a1
  7. 25 May, 2016 1 commit
    • 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.
      95c2520c
  8. 23 May, 2016 2 commits
  9. 19 May, 2016 1 commit
    • 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.
      5be25d9a
  10. 18 May, 2016 4 commits
  11. 17 May, 2016 1 commit
  12. 16 May, 2016 3 commits
  13. 13 May, 2016 7 commits
  14. 12 May, 2016 4 commits
  15. 11 May, 2016 2 commits