RADAR-base / radar-prmt-android

Application to be run on an Android device to interact with the wearable devices & phone sensors for passive data streaming
Apache License 2.0
22 stars 26 forks source link

Include date info in last upload time #113

Closed sboettcher closed 3 years ago

sboettcher commented 3 years ago

Here: https://github.com/RADAR-base/radar-prmt-android/blob/eb5aa553a6753189502fcf6ee3261790e0d6d82c/app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt#L42

i.e., in the string under "synchronisation" image

sboettcher commented 3 years ago

If this could be included in one of the next releases, it would be really helpful. If we try to remotely debug connection problems with participants, it can be important to know when exactly the last contact was, and if it was more than one day ago the information currently given is a bit limited. Thanks!

blootsvoets commented 3 years ago

Thanks for reporting this. It sounds like a good update. Could you please create a PR? Changing https://github.com/RADAR-base/radar-prmt-android/blob/5d67fe14a402f86efc7213ba457c7b505610d3a8/app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt#L186 should do the trick?

sboettcher commented 3 years ago

OK, done and merged into dev, guess I could have done this myself immediately if I had looked a bit further to find that line...