Commit graph

266 commits

Author SHA1 Message Date
jacques
602374522e Debug prefsManager usage 2021-02-07 21:51:19 +01:00
jacques
c94dbf5ec5 Chane dot size 2021-01-24 22:07:53 +01:00
jacques
630f88219c Call new tuto code 2021-01-22 21:19:23 +01:00
jacques
890b00722c AlamrManager code 2021-01-22 21:17:23 +01:00
jacques
466f42e8a8 Welcome tuto code 2021-01-22 21:17:04 +01:00
jacques
2390a137b2 Add PrefManager code 2021-01-22 21:16:41 +01:00
jacques
189c78c837 Add debug code 2021-01-09 11:19:18 +01:00
jacques
85d700cbca Trying to find the correct way for scheduling opératons → failed 2021-01-09 11:18:58 +01:00
jacques
26349ef644 Fix typo
change lastDateUpdate calculation
2021-01-09 11:18:09 +01:00
jacques
5088d912de Improve new stock calcultation 2021-01-09 11:17:10 +01:00
jacques
e37ace03dd Remove setlargeIcon (not used), remove dead code 2020-12-28 19:35:20 +01:00
jacques
3ae3e56ba7 First real try first correct schedule 2020-12-28 19:34:34 +01:00
jacques
8d2939fe09 Change imports 2020-12-26 21:52:33 +01:00
jacques
a71be18adb Change time for jobinfo (still testing) 2020-12-26 21:51:38 +01:00
jacques
e3b977a6e1 Amisc 2020-12-23 09:48:08 +01:00
jacques
267be7ad92 Correct the nbday calculation 2020-12-23 09:39:21 +01:00
jacques
17decf6916 back to a working code 2020-12-07 11:45:05 +01:00
jacques
078db844df Minors changes 2020-12-07 11:34:29 +01:00
jacques
dfaef8c54b Changes automatic 2020-12-07 11:33:32 +01:00
jacques
222415f0f9 Totally rewrite 2020-12-07 11:29:07 +01:00
jacques
42710f5f25 Add dateLastUpdate in database 2020-12-07 11:28:26 +01:00
jacques
9f8965d767 Remove unused method 2020-12-07 11:22:41 +01:00
jacques
be99c2f3f2 import cleanning 2020-12-07 11:21:39 +01:00
jacques
3fa7d675d0 Add DatelastUpdate into database 2020-12-07 11:21:16 +01:00
jacques
5afb9b054c import cleanning 2020-12-07 11:19:24 +01:00
jacques
b2f74610ab Small optimization 2020-12-07 11:18:15 +01:00
jacques
bdaf306edb import cleanning 2020-12-07 11:12:32 +01:00
jacques
e1a2f9521b clean import 2020-12-07 11:04:57 +01:00
jacques
37c61ed7e1 fix typo in last tutorial slide 2020-10-11 15:59:21 +02:00
jacques
676a4df6a0 Last tutorial slide 2020-10-10 17:17:02 +02:00
jacques
1ca1dcef71 Add tutorial definition and call 2020-10-03 23:16:26 +02:00
jacques
ac2c829119 Move a varaible in class definition 2020-10-03 23:10:43 +02:00
jacques
46cc36d202 Add slide animation for DetailActivity 2020-10-01 13:38:12 +02:00
jacques
a38b7cacba Add slide animation definition
Add animation helper
2020-10-01 13:36:53 +02:00
jacques
703c9cec9c Add log;
Clean code
2020-10-01 13:24:22 +02:00
jacques
5b4d25a92a Add use of suspended take icon 2020-10-01 13:24:21 +02:00
jacques
4b7d403ce0 Optimize import;
Optimize constuctMedList;
Add call to DetailActivity after scan;
Fix typo and small other bugs
2020-09-30 18:01:36 +02:00
jacques
017e28c016 Fix the updateDrug bug (running since almost 6 months) 2020-09-30 17:59:18 +02:00
jacques
05aeaa858c Fix comment typo 2020-09-30 17:58:32 +02:00
jacques
6d70d056dc Add Debug;
Optimize import;
Close cusors and db.
2020-09-30 17:58:07 +02:00
jacques
d6075e76e3 Use SetMinimumLatency(long) instead of setPeriodic 2020-09-27 19:15:13 +02:00
jacques
24e4d35696 add test for scheduling notification 2020-09-22 11:06:01 +02:00
jacques
3f4c867421 fix double record;
add/change comments.
2020-09-22 11:04:58 +02:00
jacques
3a62ead474 Remove unnecessary code 2020-09-22 11:02:59 +02:00
jacques
94fc76e179 Clean and add comments 2020-09-19 18:05:00 +02:00
jacques
dd08171f46 Optimize import;
send notification;
add todo;
make notification launch apk
2020-09-19 18:01:42 +02:00
jacques
9291e2ecbe Optimize import;
make jobSchedule every 24h.
2020-09-19 17:59:01 +02:00
jacques
a03c2dfe77 Add Prise test 2020-09-16 17:10:44 +02:00
jacques
171147b6c5 Change some comments 2020-09-16 17:09:08 +02:00
jacques
deb61fe1cf Fix some tried does not work. 2020-09-12 19:05:42 +02:00
jacques
07c3da06af Small change in CHANNEL_ID definition
Samll chnges in comments
2020-09-11 21:46:03 +02:00
jacques
86c9023f80 Remove unused files 2020-09-11 21:42:11 +02:00
jacques
b055892beb Changes without effect 2020-09-11 17:37:15 +02:00
jacques
8d10e9115a End merge feature/fixNotification 2020-09-11 17:21:48 +02:00
jacques
d6a30a54f0 Remove unused method; 2020-09-11 17:21:43 +02:00
jacques
d7b193471e Optimize import 2020-09-11 17:21:39 +02:00
jacques
3b7082b36e Remove unused method 2020-09-11 17:21:24 +02:00
Jacques Foucry
5de270def2 Merge branch 'feature/fix-notification' into develop 2020-09-11 16:47:38 +02:00
jacques
c9c5d7e9f3 Minor change in comments 2020-09-11 11:34:05 +02:00
jacques
f27abe2d8b Cleanning import;
Fix CHANNEL_ID bug (at least)
2020-09-11 11:33:08 +02:00
jacques
ad889b8a94 Add import 2020-09-11 11:32:06 +02:00
jacques
6dcdcd3ae7 Cleanning import;
remove not used method and variables;
add mendatory method;
2020-09-11 11:31:41 +02:00
jacques
2ef64e31e3 change schedule notification methode 2020-08-21 10:34:12 +02:00
jacques
c4175e06e3 New version of JobService implemtattion. 2020-08-15 22:04:34 +02:00
jacques
f92c861764 Small refactoring, add setAutoCancel(true) 2020-08-15 22:04:03 +02:00
jacques
a66daa3d4f Refector:
- change dbHelper.getAllDrugs to return a sorted <LIST> of medicaments;
 - remove unused import;

 Change onPause to call scheduleJob
 Add scheduleJob to use JobService
2020-08-15 22:03:19 +02:00
jacques
4e275d03d2 restore file. may be a git error from me 2020-08-14 15:13:27 +02:00
jacques
1754e9fe5b Fix small log. 2020-08-01 09:36:13 +02:00
jacques
411a4492fc Use the vector icon 2020-07-23 09:37:58 +02:00
jacques
35a915f529 Use the vector icon 2020-07-23 09:37:27 +02:00
jacques
f9a0e078b2 fix typo 2020-07-21 17:36:05 +02:00
jacques
a36febfd5e Refactor notifications. 2020-07-21 17:33:41 +02:00
jacques
2a3dab3398 Add log 2020-07-20 18:09:10 +02:00
jacques
613a38269b Fix bug recalcultate user medicament list 2020-07-20 18:08:53 +02:00
jacques
2e6a52283e Fix bug forget to save prise value. 2020-07-20 18:08:04 +02:00
jacques
f3145bd74c Change in debug code;
Optimize import.
2020-07-19 20:04:12 +02:00
jacques
0afb8bf34e New NotificationPublisher for android >= 28;
Optimize import.
2020-07-19 20:02:53 +02:00
jacques
b2287c99d4 Minor changes in debug 2020-07-19 20:01:52 +02:00
jacques
56796a8a71 add javadoc style 2020-07-18 20:20:37 +02:00
jacques
b9b2462112 add helping behavior;
optimize import
2020-07-18 20:20:15 +02:00
jacques
053eb53459 solve addItem bug;
add try/catch to avoid bug
add javadoc style
2020-07-18 20:19:08 +02:00
jacques
8822b8d679 add safety code 2020-07-18 20:17:24 +02:00
jacques
de3d38983e Suppress unused code; 2020-07-18 20:16:38 +02:00
jacques
2cc015fd48 Suppress unused code; clean import;
Solve curso bug; initialize some varaibles
2020-07-18 20:15:48 +02:00
jacques
09342383bb fix aligment; fix bug in dialog result 2020-07-15 08:51:29 +02:00
jacques
f966e32065 fix typo and alignment; fix bug with cursor and getDrugByCIP13 2020-07-15 08:51:29 +02:00
jacques
dbed48c3da Change Text by a imageButton 2020-07-15 08:51:28 +02:00
jacques
9eb5d9f64a Remove cast 2020-07-15 08:51:28 +02:00
jacques
2e812ec29b refactor a lot of code to make it cleaner and remove debug and test code. 2020-07-15 08:51:28 +02:00
jacques
ea576b5b78 Optimize import; cleanning test code 2020-07-15 08:51:28 +02:00
jacques
1842a55375 Add code to include new medicament in database from keyboard input. Not it the right place, must be move. 2020-07-15 08:51:28 +02:00
jacques
0ed0386707 Add isMedicament exist 2020-07-15 08:51:28 +02:00
jacques
49b87ca48c Add call dialog for keybaord imput of a cpi13. Must be moved to the right place 2020-07-15 08:51:27 +02:00
jacques
425f366f83 optimize import; use new dialogInterface; remove unuse code; add log; use new way to get scanned result ; fix bug in when query medicaments.db database. 2020-07-15 08:51:26 +02:00
jacques
c71ccc35c9 optimize import 2020-07-15 08:51:26 +02:00
jacques
3475295b4d Fix typo; add log; change acces DB path method for more modern way; optimize import 2020-07-15 08:51:26 +02:00
jacques
a0058936d7 Fix typo; add log 2020-07-15 08:51:26 +02:00
jacques
4cb82fda61 logical start (not tested) 2020-07-15 08:51:23 +02:00
Jacques Foucry
74534cbc17 Start onActivityResult logic 2020-07-15 08:49:47 +02:00
Jacques Foucry
8fa37f1948 Add start logical for onActivity result 2020-07-15 08:48:03 +02:00