Commit Graph

49 Commits

Author SHA1 Message Date
vsuryakumar
bbf3ba8de0 Added UnitTest cases. 2023-02-04 21:19:21 +05:30
vsuryakumar
1812e4ae4c Updated error message from string to object with message and code. 2023-02-03 14:53:26 +05:30
vsuryakumar
281bb29349 Updated test info. 2023-02-03 11:58:24 +05:30
vsuryakumar
dc47352042 Configured checking if folder is created from activity to view model while storing of files(csv, Logs). Issue resolved -> error reporting when app is opened directly to main activity from USB, resulting in not creation of app folder. 2023-02-02 18:51:38 +05:30
vsuryakumar
01676f9909 Showing toast message on error using live data and some LOG updates. 2023-02-02 18:18:00 +05:30
vsuryakumar
92f1739c3f Update in saving the csv. Sorting the data in aesc order and only taking the values between the specified range. Also adding the headers. [Working] 2023-02-02 16:36:23 +05:30
vsuryakumar
2c74675d3d Commented unwanted method. 2023-02-02 16:31:28 +05:30
vsuryakumar
1c20ab279b reversed ordering of Yes & No buttons + Added alert dialog in sample page + Updated text of alert dialog and a button in sample page. (Update based on feedback) 2023-02-02 12:40:46 +05:30
vsuryakumar
b6a72f786f Deleted unwanted file. 2023-02-02 11:36:04 +05:30
vsuryakumar
b456fbbeb7 Updated constant of max test before reference to 40. 2023-02-02 11:35:52 +05:30
vsuryakumar
ae80e48411 Handling of error messages and showing toast from viewmodel. 2023-02-01 17:13:27 +05:30
vsuryakumar
e246d624f2 Making delay value a global constant. 2023-02-01 14:47:55 +05:30
vsuryakumar
06b2f9c125 Commented out sending of extra data to logs and csv. 2023-02-01 13:06:47 +05:30
vsuryakumar
9d0055147e Updating USB Symbol based on device is connected or not using livedata. 2023-02-01 13:06:10 +05:30
vsuryakumar
4e19f6f337 Handled case of device giving output as "FINE" on first run sometimes. 2023-02-01 13:05:16 +05:30
vsuryakumar
fed35cc54d Added constructor invocation. 2023-02-01 13:04:33 +05:30
vsuryakumar
19b61710a7 Added broadcast receiver and listener to toggle usb connected/disconnected icon in action bar. 2023-01-31 19:04:11 +05:30
vsuryakumar
3a4f32234c Updated action bar (created custom one) for main activity. 2023-01-31 19:03:40 +05:30
vsuryakumar
ab6e0d50da Added custom action bar with USB icon. 2023-01-31 17:59:43 +05:30
vsuryakumar
64607dcd6d Updated package name from refactored app to -> hpos [working] 2023-01-31 15:31:05 +05:30
vsuryakumar
33ea79d773 Added methods and members to store detailed test csv and log Data. 2023-01-31 15:29:12 +05:30
vsuryakumar
e0ed9f5608 Called methods to detailed save test csv file (for internal testing) 2023-01-31 15:26:20 +05:30
vsuryakumar
96d7ab0e57 commented unwanted methods. 2023-01-31 15:25:16 +05:30
vsuryakumar
0b3490548e Deleted unwanted files on parsing csv. 2023-01-31 15:23:31 +05:30
vsuryakumar
b0428ded6a for testing 2023-01-31 13:45:47 +05:30
vsuryakumar
d5c1c33e41 Updates in results page, calculation methods & more. (working) 2023-01-30 13:52:50 +05:30
vsuryakumar
4e42977fef Implemented (renamed) calculation with taking max values. 2023-01-30 13:51:59 +05:30
vsuryakumar
f4c620c7f8 created Common Interface for all the calculation classes. 2023-01-30 13:50:53 +05:30
vsuryakumar
e74c42c78c Added data class for saving logs. 2023-01-30 13:49:07 +05:30
vsuryakumar
e945505568 Added enum for result types. 2023-01-30 13:48:20 +05:30
vsuryakumar
c3dca53807 updated package. 2023-01-30 13:46:20 +05:30
vsuryakumar
d72f6ecaa3 Removed update button. 2023-01-30 13:46:05 +05:30
vsuryakumar
c0cd1170f1 Impl Saving of logs. 2023-01-30 13:44:08 +05:30
vsuryakumar
ac705da152 Result calculation with average values updated. 2023-01-30 13:42:08 +05:30
vsuryakumar
74132ca5c7 Seperated function of creating folder & implemented methods to save csv. [working] 2023-01-27 13:22:21 +05:30
vsuryakumar
a43365268f Fixes in usbservice (making usbserviceconnector global) + relevant changes in other fragments 2023-01-27 13:21:04 +05:30
vsuryakumar
ea757d2b5f Inflating UI of results page. 2023-01-25 11:29:35 +05:30
vsuryakumar
2c144e3e67 code cleanup. 2023-01-25 11:29:20 +05:30
vsuryakumar
cb479589ca Added results to the data class. 2023-01-25 11:28:58 +05:30
vsuryakumar
dab3d09b3a Updated flow of commands to usb. 2023-01-25 11:28:38 +05:30
vsuryakumar
0b99ef9a18 Updated USbListeners 2023-01-25 11:27:53 +05:30
vsuryakumar
fe98f0e65d Added more commands 2023-01-25 11:27:14 +05:30
vsuryakumar
90de71e076 code cleanup. 2023-01-24 19:55:03 +05:30
vsuryakumar
ea021d4957 Created sample experiment page with form to take user input. 2023-01-24 19:53:52 +05:30
vsuryakumar
a7b9ed8cfa updated with new entries 2023-01-24 19:52:18 +05:30
vsuryakumar
c6599a9f41 added methods to parse read string from device into java objects + added progress bar 2023-01-24 17:13:05 +05:30
vsuryakumar
dc52b14335 added permission support for USB & established a connection using service 2023-01-23 23:02:39 +05:30
vsuryakumar
37545a82e1 setup of the basic structure of the project with boiler plate code 2023-01-19 18:57:59 +05:30
vsuryakumar
a68a58034f initial setup with UI & package structure 2023-01-12 01:04:45 +05:30