Field Science issueshttps://code.cs.earlham.edu/groups/field-science/-/issues2019-06-16T13:30:23-04:00https://code.cs.earlham.edu/field-science/FieldDay/-/issues/12Separate uploading stream & sample data to server from deleting the local dat...2019-06-16T13:30:23-04:00Craig EarleySeparate uploading stream & sample data to server from deleting the local databaseMake uploading the data a separate action from deleting the local database records. As it stands now if there is silent failure in the upload process then all the data is lost. Disk space on the device is cheap, human time to collect dat...Make uploading the data a separate action from deleting the local database records. As it stands now if there is silent failure in the upload process then all the data is lost. Disk space on the device is cheap, human time to collect data is expensive. The database state indicator could play into this.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/1Re-Read Button2019-06-16T13:30:23-04:00Craig EarleyRe-Read ButtonIt would be nice to have a re-read button next to the stream button in 'Take a Sample'.It would be nice to have a re-read button next to the stream button in 'Take a Sample'.First Field Day FridayCraig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/2App dies if user denies turning on bluetooth2019-06-16T13:30:23-04:00Craig EarleyApp dies if user denies turning on bluetoothIf bluetooth is disabled, Field Day asks the user to allow turning on bluetooth under 'Take a Sample' -> 'Bluetooth Sensors'. If the user says 'deny' then the app crashes. If bluetooth is disabled, Field Day asks the user to allow turning on bluetooth under 'Take a Sample' -> 'Bluetooth Sensors'. If the user says 'deny' then the app crashes. Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/3Ability to collect platform/sensor data when app is not foreground/visible2019-06-16T13:30:23-04:00Craig EarleyAbility to collect platform/sensor data when app is not foreground/visibleAbility to collect platform/sensor data when app is not foreground/visible.Ability to collect platform/sensor data when app is not foreground/visible.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/4Update sensor values display on screen when idling or streaming2019-06-16T13:30:23-04:00Craig EarleyUpdate sensor values display on screen when idling or streamingUpdate sensor values display on screen when idling or streaming at the same rate as the streaming is currently set to.Update sensor values display on screen when idling or streaming at the same rate as the streaming is currently set to.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/5Visible "pulse" in streaming mode2019-06-16T13:30:23-04:00Craig EarleyVisible "pulse" in streaming modeVisible "pulse" in streaming mode, at the same rate as the streaming. This could be combined with updating the sensor values, possibly just by adding a time-stamp.Visible "pulse" in streaming mode, at the same rate as the streaming. This could be combined with updating the sensor values, possibly just by adding a time-stamp.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/6Display the platform battery level on the sample/stream screen2019-08-12T16:02:26-04:00Craig EarleyDisplay the platform battery level on the sample/stream screenWe can read the battery voltage (a good proxy for charge level) from the Feathers and other Arduino micro-controllers. Having that displayed on the sample/stream page would make it much easier for users to know when they have to charge/c...We can read the battery voltage (a good proxy for charge level) from the Feathers and other Arduino micro-controllers. Having that displayed on the sample/stream page would make it much easier for users to know when they have to charge/change their batteries.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/7Make it easier to see where the cursor is on the setup database screen2019-06-16T13:30:23-04:00Craig EarleyMake it easier to see where the cursor is on the setup database screenMake it easier to see where the cursor is on the setup database screen.Make it easier to see where the cursor is on the setup database screen.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/8Larger font/better contrast on sample/stream and database setup screens2019-07-23T13:02:14-04:00Craig EarleyLarger font/better contrast on sample/stream and database setup screensLarger font/better contrast on sample/stream and database setup screens, or should provide a small, medium, large configuration item for the font size?Larger font/better contrast on sample/stream and database setup screens, or should provide a small, medium, large configuration item for the font size?https://code.cs.earlham.edu/field-science/FieldDay/-/issues/9Indicate state of local database on database screen2019-06-16T13:30:23-04:00Craig EarleyIndicate state of local database on database screenConsider an indicator for the state of the local database, I think it can be in these states: uninitialized, initialized (w/ timestamp), data collected (w/ most recent timestamp), uploaded (w/ timestamp). This would make it easy to see t...Consider an indicator for the state of the local database, I think it can be in these states: uninitialized, initialized (w/ timestamp), data collected (w/ most recent timestamp), uploaded (w/ timestamp). This would make it easy to see that data had been collected but not uploaded, e.g.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/10Provide for "manual entry" of pH and possibly other parameters2019-06-16T13:30:23-04:00Craig EarleyProvide for "manual entry" of pH and possibly other parametersIt looks like one or more of our platforms will require manually entry, pH for certain and possibly others. We will need a mechanism to specify the parameter (maybe a platform of Manual with sensors of pH, etc.) and the reading. These wo...It looks like one or more of our platforms will require manually entry, pH for certain and possibly others. We will need a mechanism to specify the parameter (maybe a platform of Manual with sensors of pH, etc.) and the reading. These would always be associated with an existing spot.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/11Improved support for smaller form-factors, e.g. HTC M7 or Samsung S72020-01-24T12:56:45-05:00Craig EarleyImproved support for smaller form-factors, e.g. HTC M7 or Samsung S7It would be really sweet to be able see the screens clearly on smaller form-factor devices. It would be really sweet to be able see the screens clearly on smaller form-factor devices. https://code.cs.earlham.edu/field-science/FieldDay/-/issues/13Progress meter for upload tables seems to be stuck on fieldday_spot2019-06-17T10:54:17-04:00Craig EarleyProgress meter for upload tables seems to be stuck on fieldday_spotProgress meter for upload seems to be stuck on fieldday_spot but then after a while it vanishes and the upload is complete.Progress meter for upload seems to be stuck on fieldday_spot but then after a while it vanishes and the upload is complete.https://code.cs.earlham.edu/field-science/FieldDay/-/issues/14Provide a "View summary of local data" option for sampling -> database2019-06-17T13:22:28-04:00Craig EarleyProvide a "View summary of local data" option for sampling -> databaseIt would be handy to be able to see what's in the local database, say at the "collection" level that Craig is working on. This many site/sector/sample combos, this many streams (how to aggregate those?)It would be handy to be able to see what's in the local database, say at the "collection" level that Craig is working on. This many site/sector/sample combos, this many streams (how to aggregate those?)Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/16Field Day is labeled a "high battery usage" app on some devices2019-08-01T14:22:30-04:00Craig EarleyField Day is labeled a "high battery usage" app on some devicesThe Asus tablet and Craig's Samsung phone (at least those two devices; check on others as part of fixing this issue) report Field Day with a tag of "Battery usage: high" in the "Location" menu. Investigate energy usage and fix.
Initia...The Asus tablet and Craig's Samsung phone (at least those two devices; check on others as part of fixing this issue) report Field Day with a tag of "Battery usage: high" in the "Location" menu. Investigate energy usage and fix.
Initial issue description:
> The Asus skin has some power management built-in, when field day has been running for a while it is labeled as a "Battery-draining app". Figure-out why and fix it. Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/18Sample Less Frequently2019-07-23T13:37:16-04:00Craig EarleySample Less FrequentlyCurrently, we sample far too frequently. We should make this less rapid-fire and perhaps changeable from within the app. Perhaps related to issue #16 .Currently, we sample far too frequently. We should make this less rapid-fire and perhaps changeable from within the app. Perhaps related to issue #16 .https://code.cs.earlham.edu/field-science/FieldDay/-/issues/23Display the platform software version on the sample/stream screen2019-06-16T13:30:24-04:00Craig EarleyDisplay the platform software version on the sample/stream screen Display the platform software version on the sample/stream screen. Requires simple changes on the platform Arduino code as well. Display the platform software version on the sample/stream screen. Requires simple changes on the platform Arduino code as well. https://code.cs.earlham.edu/field-science/FieldDay/-/issues/26Sampling fragments should display units2020-09-30T09:35:28-04:00Craig EarleySampling fragments should display unitsThe bluetooth, built-in, and bench sample fragments should display the units along with each sensor value (e.g. air pressure, temperature, etc.) These are available from the fieldday_sensorThe bluetooth, built-in, and bench sample fragments should display the units along with each sensor value (e.g. air pressure, temperature, etc.) These are available from the fieldday_sensorhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/27Add prompt for location permissions2019-08-01T14:22:50-04:00Craig EarleyAdd prompt for location permissionsAfter fixing some errors and warnings, BlueTooth device detection doesn't work if Field Day lacks location permissions. Add a prompt telling the user to enable Field Day to use the device's location (or possibly whatever object Android u...After fixing some errors and warnings, BlueTooth device detection doesn't work if Field Day lacks location permissions. Add a prompt telling the user to enable Field Day to use the device's location (or possibly whatever object Android uses to request permission from the user directly).Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/28Sampling -> Internal sensors on Nexus 7 crashes2019-08-01T14:23:47-04:00Craig EarleySampling -> Internal sensors on Nexus 7 crashes05-23 14:12:54.046 30426-30426/fieldscience.cs.earlham.edu.fieldday E/AndroidRuntime: FATAL EXCEPTION: main
Process: fieldscience.cs.earlham.edu.fieldday, PID: 30426
java.lang.RuntimeException: Unable to start activity Componen...05-23 14:12:54.046 30426-30426/fieldscience.cs.earlham.edu.fieldday E/AndroidRuntime: FATAL EXCEPTION: main
Process: fieldscience.cs.earlham.edu.fieldday, PID: 30426
java.lang.RuntimeException: Unable to start activity ComponentInfo{fieldscience.cs.earlham.edu.fieldday/fieldscience.cs.earlham.edu.fieldday.SensorSampleActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
at android.widget.ArrayAdapter.getCount(ArrayAdapter.java:337)
at android.widget.ListView.setAdapter(ListView.java:491)
at fieldscience.cs.earlham.edu.fieldday.SensorSampleActivity.onCreate(SensorSampleActivity.java:168)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Craig EarleyCraig Earley