Commit graph

519 commits

Author SHA1 Message Date
jacques
8257f5477a Use Medic instead of Drug 2022-03-12 21:32:57 +01:00
jacques
426092bbad Make DrugDetailActivity call more clear 2022-03-12 21:32:17 +01:00
jacques
9d19b6dec7 Use Float instead of Double
Make class serializable
2022-03-12 21:30:54 +01:00
jacques
af71f54796 Remove unuse query
optimize import
2022-03-12 21:29:26 +01:00
jacques
8728c79909 Migration use Double instead of Long
Migration use Float instead of Double
2022-03-12 21:28:11 +01:00
jacques
6bf1d82318 Add format string method 2022-03-12 21:18:44 +01:00
jacques
9fa217d587 Use new Medic object for both presciptions (the list of medications user take, and medications, the complete database;
Need a migration between version 1 an 2 of the database schema
2022-03-11 21:45:43 +01:00
jacques
35085f19c7 Change insert to insertAll. 2022-03-08 19:48:47 +01:00
jacques
bbec058a6a Remove id form columns 2022-03-08 19:48:07 +01:00
jacques
14f481175b Minor change in calling Room 2022-03-08 19:47:27 +01:00
jacques
c43e5d1880 Add generated json database schema 2022-03-08 19:46:36 +01:00
jacques
be85f8c69d use correct import
use getters and setters
2022-03-07 22:10:20 +01:00
jacques
88c534e719 use correct import
add getters and setters
2022-03-07 22:09:23 +01:00
jacques
bed4186bc3 use correct import 2022-03-07 22:08:55 +01:00
jacques
615d2f1914 Update dependencies for room 2022-03-07 22:07:50 +01:00
Jacques Foucry
0681c63c8e Add demo code for room database amanagement 2022-03-07 18:19:57 +01:00
Jacques Foucry
a98601c8b0 Add Room prescription database amangement 2022-03-07 18:19:35 +01:00
Jacques Foucry
3e38c7223c Add Room dependencies 2022-03-07 18:18:55 +01:00
jacques
e657105e3a Don't use contract for DetailDrugActivity, code stil in project buit not used (see DrugDetailContract);
Add @SuppressWarnings("deprecation") in order to still use startActivityForResult without warning.
2022-03-06 10:52:27 +01:00
jacques
e98f07bac6 Minor changes 2022-03-06 10:49:16 +01:00
jacques
7de2982944 fix code style and comments 2022-03-06 10:48:51 +01:00
jacques
0b3a4c8a12 Added but not use; try to use contract, unsuccessfully. Keep fil just in casse 2022-03-06 10:48:05 +01:00
jacques
8fccb00f3a Some improvement after code Analysis 2022-03-04 11:46:06 +01:00
jacques
207179a5b1 Integrate PilldroidScanContract and deal with return to add medication 2022-03-04 11:45:36 +01:00
jacques
bf88d1e64f Some cleaning according to code analysis 2022-03-02 10:35:23 +01:00
jacques
f31a5a2550 Fix some typos 2022-03-01 20:43:55 +01:00
jacques
46811d4d71 Remove some warning 2022-03-01 20:33:34 +01:00
jacques
184e4abb57 Almost working scanContract with CustomScannerActivity and returnCode 2022-03-01 20:23:47 +01:00
jacques
c735b1b592 Add strings for cancelling barcode scan 2022-03-01 20:21:40 +01:00
Jacques Foucry
b3ec1ba492 New Test for contract 2022-02-28 20:42:29 +01:00
jacques
9815482244 back to almost working situation 2022-02-21 14:53:47 +01:00
Jacques Foucry
1efac31e54 try with scannerActivity override 2022-02-21 09:43:11 +01:00
jacques
09d73ba381 fix 2 typos 2022-02-19 20:22:17 +01:00
jacques
2f74bdbce2 Sebd returnCode with barcode informations 2022-02-19 12:21:24 +01:00
jacques
066fee7334 Receive correct returnCode 2022-02-19 12:19:27 +01:00
jacques
2a7856179c Add parseSetBarcodeActivity method 2022-02-19 12:18:00 +01:00
jacques
3fd04c7b21 WAdd barcodeValues 2022-02-17 11:29:51 +01:00
jacques
e1240db07b WIP: Add manualAddLaucher 2022-02-17 11:29:19 +01:00
jacques
e3b88a08cf Add mBarcodeLauncher 2022-02-17 11:27:59 +01:00
jacques
ad605609e6 Add parserbarcode 2022-02-17 11:26:43 +01:00
jacques
55c2b67f2e WIP: try to create custom scanActivity 2022-02-13 17:49:25 +01:00
Jacques Foucry
8ac3a79639 Remove Sentry.io 2022-02-10 22:10:53 +01:00
Jacques Foucry
1a34a015fa Update build.gradle 2022-02-10 22:10:53 +01:00
jacques
b0dc51dd60 Add scanOptions for QRCode light on dark background 2022-02-09 11:57:31 +01:00
jacques
94e625db26 Create a custom scanbarcode contract form xxing scanContract. Unsuccesfful. 2022-02-08 07:51:20 +01:00
jacques
4d365c5092 Try to use custom scan contrat from zxing library. No success. 2022-02-08 07:50:22 +01:00
jacques
e11e1c1b4a Optimize import 2022-02-08 07:48:12 +01:00
jacques
33b8a5834c Update dependencies 2022-02-08 07:47:07 +01:00
Jacques Foucry
d82c7a4e59 Test CustomScannerContract 2022-02-05 19:16:18 +01:00
jacques
e33297def4 Fix some typos 2022-01-31 17:50:26 +01:00