Field Science issueshttps://code.cs.earlham.edu/groups/field-science/-/issues2019-07-23T13:02:14-04:00https://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/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/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/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 Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/30Update deprecated dependencies, themes, and environment settings2019-08-05T12:08:41-04:00Craig EarleyUpdate deprecated dependencies, themes, and environment settings[This is an issue to go along with !9 and its branch.][This is an issue to go along with !9 and its branch.]Craig EarleyCraig Earleyhttps://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/29Drive API is deprecated by Google and will stop working in December2019-08-23T10:03:20-04:00Craig EarleyDrive API is deprecated by Google and will stop working in DecemberLast year Google deprecated the Drive API we use.
Unlike some deprecations, which scold you when you run "Inspect Code" but continue to work, Google is shutting this down on their side.
[Timeline from the Google Developers website](htt...Last year Google deprecated the Drive API we use.
Unlike some deprecations, which scold you when you run "Inspect Code" but continue to work, Google is shutting this down on their side.
[Timeline from the Google Developers website](https://developers.google.com/drive/android/deprecation):
```
* December 6, 2018: Deprecation is publicly announced. Existing clients will be able to access the API normally, but should immediately commence with migration efforts. New clients must not use the API.
* October 21, 2019: The Drive Android API is removed from the Google Play Services SDK distribution. Apps will be unable to build until removing the Drive Android API dependency, but existing builds will be unaffected. The Drive Android API public documentation will no longer be available.
* December 6, 2019: The Drive Android API is shut down and all connection attempts will be refused. Clients must migrate by this date.
```
There *are* ways to adjust the app to continue using Drive, but we must change it or we won't be able to use it at all in a few months.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/31App crashes if you try to stream without selecting a sector2019-08-23T11:09:39-04:00Craig EarleyApp crashes if you try to stream without selecting a sectorIf you tap "STREAM" (using either internal sensors or Bluetooth platforms) without selecting a sector, Field Day crashes. (The expected behavior is that it does not crash...)
There are at least two possible solutions:
* Pre-populate the...If you tap "STREAM" (using either internal sensors or Bluetooth platforms) without selecting a sector, Field Day crashes. (The expected behavior is that it does not crash...)
There are at least two possible solutions:
* Pre-populate the site and sector fields with default values. This already appears to happen for the site field, although it does not follow up by populating the sector dropdown with a list of sectors associated with that site.
* On user tap of "STREAM", check for empty values in site and sector. Display a message prompting the user to select a value for each empty field. This adds friction but gives the user more transparent control. Similar logic exists already for "SAMPLE", which displays a message prompting the user to enter a spot number before taking a reading, if they have not already done so.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/32Bring API usages in line with the requirements of Android 10 (SDK 29)2019-09-13T12:07:45-04:00Craig EarleyBring API usages in line with the requirements of Android 10 (SDK 29)Android Q (or 10 or 29 depending on your context) is here, and I want us to keep up rather than catch up.
Several API usage models are going away, and I think it's causing buggy-looking behavior on my Samsung device (though not yet on a...Android Q (or 10 or 29 depending on your context) is here, and I want us to keep up rather than catch up.
Several API usage models are going away, and I think it's causing buggy-looking behavior on my Samsung device (though not yet on a Nexus tablet). When I run a Lint report:
```
* 'getExternalStorageDirectory()' is deprecated
* 'insertImage(android.content.ContentResolver, java.lang.String, java.lang.String, java.lang.String)' is deprecated
* 'getBitmap(android.content.ContentResolver, android.net.Uri)' is deprecated
```
This matches some GIYF investigations on the same topic. Android 10 appears to be taking additional steps to secure user privacy, and one consequence is that we're going to have to fix the way we handle media and external storage.
I'll iterate on this over the next few weeks.Craig EarleyCraig Earleyhttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/34No indication when the GPS signal is lost2019-09-21T10:24:05-04:00Tamara BlagojevicNo indication when the GPS signal is lostThere should be some kind of indication when the GPS signal is lost so we know that the drone is not collecting dataThere should be some kind of indication when the GPS signal is lost so we know that the drone is not collecting dataTamara BlagojevicTamara Blagojevichttps://code.cs.earlham.edu/field-science/FieldDay/-/issues/36Aggregate the magnetometer data2019-11-19T12:40:25-05:00Craig EarleyAggregate the magnetometer dataThis topic is too broad for a single issue, but I wanted to flag it for discussion and initial script development.
We've talked for a few years about using the magnetometer data that Field Day gathers from the OS as part of the internal...This topic is too broad for a single issue, but I wanted to flag it for discussion and initial script development.
We've talked for a few years about using the magnetometer data that Field Day gathers from the OS as part of the internal sensors function. We should start doing this, as it has implications for several workflows.https://code.cs.earlham.edu/field-science/datavis/-/issues/4Mobile install documentation2019-11-19T14:00:24-05:00Craig EarleyMobile install documentation*Created by: probably-not-porter*
Write some documentation for the install and use of TermUX with git, node, and nano. Maybe automate this process with a shell script*Created by: probably-not-porter*
Write some documentation for the install and use of TermUX with git, node, and nano. Maybe automate this process with a shell scripthttps://code.cs.earlham.edu/field-science/datavis/-/issues/3User Feedback2019-11-19T14:00:30-05:00Craig EarleyUser Feedback*Created by: probably-not-porter*
when enough data specificity is given, show that there is something to view in the map and graph views.*Created by: probably-not-porter*
when enough data specificity is given, show that there is something to view in the map and graph views.https://code.cs.earlham.edu/field-science/datavis/-/issues/1Mobile UI2019-11-19T14:00:42-05:00Craig EarleyMobile UI*Created by: probably-not-porter*
buttons for map view overlap a little in the bottom right corner on a smaller mobile display*Created by: probably-not-porter*
buttons for map view overlap a little in the bottom right corner on a smaller mobile displayhttps://code.cs.earlham.edu/field-science/datavis/-/issues/6Add pointer to elevation analysis tool2019-11-20T09:17:12-05:00Craig EarleyAdd pointer to elevation analysis toolRei worked on a sweet set of elevation analysis tools and we should have a pointer to them from the vis tool. The code is available [here](https://gitlab.cluster.earlham.edu/field-science/analysis).Rei worked on a sweet set of elevation analysis tools and we should have a pointer to them from the vis tool. The code is available [here](https://gitlab.cluster.earlham.edu/field-science/analysis).https://code.cs.earlham.edu/field-science/images/-/issues/1Add or verify the presence of the image scripts2019-12-01T09:08:37-05:00Craig EarleyAdd or verify the presence of the image scriptsWe have existing scripts that should be added here. Some of them are listed below and some may already be there.
As a starting point, here are some tools we may want to get or build for visible light:
- PCA
- Histogram balancing
- Contr...We have existing scripts that should be added here. Some of them are listed below and some may already be there.
As a starting point, here are some tools we may want to get or build for visible light:
- PCA
- Histogram balancing
- Contrast enhancement
- [more] - see Parcak’s book
- Data storage and location
- NDVI
- GUI and non-GUI things (cf. Dan)https://code.cs.earlham.edu/field-science/images/-/issues/5Build and document the data dictionary2019-12-02T08:58:31-05:00Craig EarleyBuild and document the data dictionaryBuild the data dictionary
- RPA Images
- Field Day - Postgres and images
- Soil tests (Iceland and Nicaragua)
- Other
This issue isn't strictly image processing, but there's not currently a place for "all the questions concerning grou...Build the data dictionary
- RPA Images
- Field Day - Postgres and images
- Soil tests (Iceland and Nicaragua)
- Other
This issue isn't strictly image processing, but there's not currently a place for "all the questions concerning groups of software in the Iceland program" so I'm leaving it here.
EDIT: formattinghttps://code.cs.earlham.edu/field-science/datavis/-/issues/9Allow us to click anywhere in the box rather than just the circle2019-12-02T15:03:13-05:00Craig EarleyAllow us to click anywhere in the box rather than just the circlePointing so specifically to the circle in the selector is a bit frustrating. It would be more user-friendly if we could click anywhere on a box (e.g. "Hopper Lab") to make a selection.Pointing so specifically to the circle in the selector is a bit frustrating. It would be more user-friendly if we could click anywhere on a box (e.g. "Hopper Lab") to make a selection.https://code.cs.earlham.edu/field-science/datavis/-/issues/7Place map and graph buttons at bottom of screen2020-01-11T17:32:03-05:00Craig EarleyPlace map and graph buttons at bottom of screenWe want to be able to find the map and graph quickly after selecting read/stream-trip-site-sector-spot. The current flow leads you away from those buttons. Consider moving them to the bottom of the screen.We want to be able to find the map and graph quickly after selecting read/stream-trip-site-sector-spot. The current flow leads you away from those buttons. Consider moving them to the bottom of the screen.