Skip to content

Conversation

@CloudyPadmal
Copy link
Collaborator

@CloudyPadmal CloudyPadmal commented Nov 2, 2018

Fixes #1427

Changes:

In this PR, I have created an abstract sensor class PSLabSensor which holds all the necessary functions and templates needed by each sensor. Lux Meter can be taken as an example to design other sensors to have a uniform layout and a theme.

  • Lux Meter Settings -> Configuration
  • Map: Data points are not showing, need to add markers
  • Consider having consistent design
  • Export is not including all fields
  • Enable GPS by default
  • Take out “Statistics”. Add Max, Min, Avg below graph.
  • Device view and playback view should look the same

Screenshot/s for the changes:

Instrument view Lux meter configs Sample log file Sample Markers Readings on Map
1 2 3 1 2

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
NewLuxMeter.apk.zip

@CloudyPadmal CloudyPadmal added Enhancement Improvement to an existing feature Ideas Needed Open to suggestion In Progress Developer is working on the problem Status: Review Required Requested reviews from peers and maintainers labels Nov 2, 2018
@CloudyPadmal CloudyPadmal self-assigned this Nov 2, 2018
@CloudyPadmal
Copy link
Collaborator Author

Please test the APK and update here on what needs to be fixed and changed. Thanks! :)

@harsh-2711
Copy link
Contributor

@CloudyPadmal In the first screenshot that you uploaded, the main reading of the gauge is overlapping with the meter readings. So can we do something about it?

Copy link
Contributor

@cweitat cweitat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It starts automatically collecting data when instrument is opened. App crashes when press record. Android 8.0

@CloudyPadmal
Copy link
Collaborator Author

@harsh-2711 yes good point. I'll see if I can make an offset. @cweitat yes there was a location permission error. I've fixed that. Will update this one soon.

@CloudyPadmal CloudyPadmal force-pushed the LuxSensor branch 2 times, most recently from 85671a0 to 4fbd411 Compare November 4, 2018 15:53
@CloudyPadmal
Copy link
Collaborator Author

@cweitat @harsh-2711 I've updated the PR with changes.

@CloudyPadmal CloudyPadmal removed the In Progress Developer is working on the problem label Nov 5, 2018
@CloudyPadmal CloudyPadmal force-pushed the LuxSensor branch 5 times, most recently from c6e0658 to 6095cde Compare November 6, 2018 07:04
@CloudyPadmal
Copy link
Collaborator Author

I've completely fixed the issue #1427 and the apk is the current one. Please have a look.

@cweitat
Copy link
Contributor

cweitat commented Nov 7, 2018

@CloudyPadmal have a look at codacy

@cweitat cweitat requested a review from mariobehling November 7, 2018 18:21
@CloudyPadmal CloudyPadmal force-pushed the LuxSensor branch 2 times, most recently from 703594c to c2ecf2b Compare November 8, 2018 08:52
dimensions

permissions

added marker classes

added markers

added logging support

added new logo

added new logo and completed logging

updated logging

codacy

codacy
@mariobehling mariobehling merged commit c9470d1 into fossasia:development Nov 15, 2018
@CloudyPadmal CloudyPadmal removed the Status: Review Required Requested reviews from peers and maintainers label Nov 16, 2018
Princejhabak pushed a commit to Princejhabak/pslab-android that referenced this pull request Dec 8, 2018
dimensions

permissions

added marker classes

added markers

added logging support

added new logo

added new logo and completed logging

updated logging

codacy

codacy
@CloudyPadmal CloudyPadmal deleted the LuxSensor branch December 15, 2018 11:31
neel1998 pushed a commit to neel1998/pslab-android that referenced this pull request Jul 30, 2019
dimensions

permissions

added marker classes

added markers

added logging support

added new logo

added new logo and completed logging

updated logging

codacy

codacy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Improvement to an existing feature Ideas Needed Open to suggestion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants