1. 26 Feb, 2021 1 commit
  2. 07 Feb, 2021 1 commit
  3. 06 Feb, 2021 1 commit
  4. 17 Sep, 2019 2 commits
  5. 14 Sep, 2019 1 commit
  6. 13 Sep, 2019 1 commit
  7. 27 Aug, 2019 1 commit
  8. 23 Aug, 2019 1 commit
  9. 15 Aug, 2019 1 commit
  10. 08 Jun, 2019 1 commit
  11. 07 Jun, 2019 1 commit
  12. 23 Mar, 2019 1 commit
  13. 16 Jun, 2018 1 commit
  14. 07 Apr, 2018 1 commit
  15. 04 May, 2017 1 commit
  16. 25 Jul, 2016 1 commit
  17. 22 Jun, 2016 1 commit
  18. 09 Jun, 2016 1 commit
  19. 08 Jun, 2016 1 commit
  20. 06 Jun, 2016 2 commits
    • Kristin Muterspaw's avatar
      New 'Current Database Information' on the bottom of Database Actions Activity.... · b987e500
      Kristin Muterspaw authored
      New 'Current Database Information' on the bottom of Database Actions Activity. It displays: last time uploaded, last time downloaded, last time cleaned, current size, current status which could be: empty, initialized but no reading or streaming data, initialized with reading and streaming data, or initialized and just reading or streaming data. Font is set to 'Appearance Medium.' Only layout for portrait mode currently.
      b987e500
    • Kristin Muterspaw's avatar
      SensorSampleService gets updated site, sector or spot from... · c4fa2362
      Kristin Muterspaw authored
      SensorSampleService gets updated site, sector or spot from SensorSampleActivity if the user changes it while bound to the service. Streaming button pulses when Field Day is streaming and writing to the database.
      c4fa2362
  21. 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
  22. 18 May, 2016 3 commits
    • Kristin Muterspaw's avatar
      New button in 'Sampling' -> 'Database Actions' that allows the user to clean... · 7add0990
      Kristin Muterspaw authored
      New button in 'Sampling' -> 'Database Actions' that allows the user to clean the local database. If this button is pressed, it confirms that the user what's to clear the database. A backup copy is saved in the external storage: /storage/emulated/0/FieldDay/archive/<date>-readings.db, and all of the local tables are dropped and re-created. These methods are also called upon successfully uploaded tables to the remote database.
      7add0990
    • Kristin Muterspaw's avatar
      'Sampling' -> 'Database Actions' has two buttons, one for uploading and one... · ad0166a4
      Kristin Muterspaw authored
      'Sampling' -> 'Database Actions' has two buttons, one for uploading and one for setting up local database. Upon clicking 'Upload' Field Day goes out inserts the spots, making sure that the (trip, site, sector, spot) primary key isn't broken on the remote database. After uploading spots, readings are uploaded and then streaming. Field Day uses a transaction by setting 'autoCommit' to false. If any SQLException is caught during this process then the transaction is rolled back. Tested with sampling 'Built In' sensor data, all rows appear in the database on hopper.
      ad0166a4
    • Kristin Muterspaw's avatar
      Moved the 'Remote Database Setup' from the Settings Fragment to 'Database... · 1f035ae9
      Kristin Muterspaw authored
      Moved the 'Remote Database Setup' from the Settings Fragment to 'Database Actions' under 'Sampling' -> 'Database Actions.'
      1f035ae9
  23. 17 May, 2016 1 commit
  24. 12 May, 2016 1 commit
    • Kristin Muterspaw's avatar
      Reread button only on the fragment for bluetooth sensor, since it won't be... · 0b127e6f
      Kristin Muterspaw authored
      Reread button only on the fragment for bluetooth sensor, since it won't be needed for built in sensors. Got rid of unused files and images. Buttons are grayed out if they are not usable yet. For example: reread, sample and stream are not available on bluetooth sensors until the sensor is connected and the first value is read. After reading the first value, the buttons are turned to their normal color and set as clickable.
      0b127e6f
  25. 11 May, 2016 1 commit
  26. 05 May, 2016 1 commit
    • Kristin Muterspaw's avatar
      Settings option to 'Connect to remote database'. This opens a new activity... · 05fc7c49
      Kristin Muterspaw authored
      Settings option to 'Connect to remote database'. This opens a new activity where the user inputs server ip, database name, username and password, etc (everything that is needed to connect to the database using the jdbc driver) to connect to the remote database for the schemas and rows in the tables. Doesn't actually do the connecting yet, this is just a layout page with some edit texts. It's not pretty, that will come after it's working.
      05fc7c49
  27. 04 Apr, 2016 1 commit
    • Kristin Muterspaw's avatar
      There's a scan devices option under 'SensorSampleActivity.' This goes out and... · 424316f6
      Kristin Muterspaw authored
      There's a scan devices option under 'SensorSampleActivity.' This goes out and scans for Bluetooth LE devices that are available. It's not pretty, but we can focus on the aesthetics later. Tested and able to see available devices. Right now, the activity just lists them. Next thing to work on is actually connecting and getting the device information sensor fragments.
      424316f6
  28. 26 Mar, 2016 1 commit
  29. 04 Mar, 2016 2 commits
    • buzzlightyear's avatar
      Customized radio button selector for time interval for writing to the... · 529a2040
      buzzlightyear authored
      Customized radio button selector for time interval for writing to the database. This is just the UI basics, has not been used in the java code for actually controlling the write frequency to the database.
      529a2040
    • buzzlightyear's avatar
      Added EditText options for site, sector and spot in the SensorSampleActivity.... · 0ee2b289
      buzzlightyear authored
      Added EditText options for site, sector and spot in the SensorSampleActivity. Set writeToDB to use those values instead of just sample hardcoded ones. Rearrange SensorSampleActivity so there's room for all of the options. In the settings.xml file, there's now an option to specify what the Trip Name is for database readings. I didn't think it was necessary to have Trip Name be on the SensorSampleActivity if it's going to be constant throughout the entire trip.
      0ee2b289
  30. 13 Feb, 2016 1 commit
  31. 26 Jan, 2016 1 commit
  32. 19 Nov, 2015 1 commit
  33. 17 Nov, 2015 3 commits
    • buzzlightyear's avatar
      Fixed some minor grammatical errors -- now all of the Sample Buttons in 'Take... · bce7801c
      buzzlightyear authored
      Fixed some minor grammatical errors -- now all of the Sample Buttons in 'Take a Sample' resolve to their correct fragment. Also fixed some spacing issues with Sensors and sensor values in strings.xml.
      bce7801c
    • buzzlightyear's avatar
      SensorListAdapter now uses a ViewHolder for both of the textviews (sensor... · 11fef4f4
      buzzlightyear authored
      SensorListAdapter now uses a ViewHolder for both of the textviews  (sensor name and sensor value) for each item in the list. Using a ViewHolder really optimizes the code, by limiting the number of inflations of the Layout and the number of getViewById calls. For our list, it's not so bad, because there are only like 10 sensors, but once you get up to 100s of sensors, calling getViewById really is exhaustive.
      
      aSensor now has a getLastValueString and getLastValue float methods. Their names explain what they do, the float methods returns the number values, and the string method returns the string (most for TextViews).
      11fef4f4
    • buzzlightyear's avatar
      Added a debug checkbox option, so we know when we want to debug (send data... · e13e4940
      buzzlightyear authored
      Added a debug checkbox option, so we know when we want to debug (send data collected to a different database - perhaps called 'debug').
      e13e4940