Commit graph

521 commits

Author SHA1 Message Date
jacques
f364890d02 Remove dead code 2021-10-03 13:54:29 +02:00
jacques
60792d1b4b remove cip13 in DrugListActivityist 2021-09-17 14:42:16 +02:00
jacques
ad5c798857 Move save icon in detailView 2021-09-17 14:41:03 +02:00
jacques
934d6ae67b Add EAN_13 case 2021-08-09 16:20:42 +02:00
jacques
99436ae75e fix typo 2021-07-09 11:38:39 +02:00
jacques
2ce346a276 Optimize import;
Add sentry import;
Keep test code commented.
2021-07-09 11:19:31 +02:00
jacques
fd25a41a11 Optimize import 2021-07-09 11:18:13 +02:00
jacques
fc70f4b96b Add todo comment for deprecated code. 2021-07-04 22:22:24 +02:00
jacques
d0f6f5b1dd Change take loop 2021-07-04 22:22:23 +02:00
jacques
4486b45bd9 fix typo 2021-06-26 17:51:05 +02:00
jacques
7d3cdee933 fix typo 2021-06-26 17:50:22 +02:00
jacques
4696132ca3 fix typo 2021-06-26 17:19:37 +02:00
jacques
88b849b3b5 Comment log. 2021-06-18 20:11:12 +02:00
jacques
e895693c66 change import 2021-06-18 20:10:36 +02:00
jacques
ed6052ba1b Cosmetic change in the code 2021-06-18 20:10:07 +02:00
jacques
6fa451b2ea Add sentry framework 2021-06-18 20:06:17 +02:00
jacques
1112355230 Change test getStock vs alertThereshold
Add calling application from notification (not yet tested)
Change scheduleAlarm time
2021-06-18 20:04:39 +02:00
jacques
358212bac0 Change test getStock vs alertThereshold
Add calling application from notification (not yet tested)
Change scheduleAlarm time
2021-06-18 20:04:00 +02:00
jacques
8a205163b4 Fix therehold not save bug 2021-05-16 19:54:50 +02:00
jacques
4b4d15c9fc Minor change in colors 2021-05-16 13:15:19 +02:00
jacques
e0af464a87 Remove some debug log 2021-05-13 17:29:05 +02:00
jacques
6964516e56 Make change for a test release for Erwan
Change the drugs database.
2021-05-11 17:01:40 +02:00
jacques
8c8b732fbe Remove dead code;
change BOOT_COMPLETEED test
Add debug code
2021-05-08 22:31:37 +02:00
jacques
90f89caae5 Fixing typos 2021-05-07 22:13:10 +02:00
jacques
24bf0c7874 Minor change but this code is not used any more.
TODO:remove it
2021-05-07 22:12:55 +02:00
jacques
dd47fcb42a Add permission to use alarmManager;
comment joservice
2021-05-07 22:12:10 +02:00
jacques
9f84a7d1f5 Move scheduleAlarm in AlarmReceiver and call it from onPause.
Add the way to launch alarmManager at bootime
2021-05-07 22:10:26 +02:00
jacques
87998345eb Fix debug error 2021-04-18 18:47:38 +02:00
jacques
15c4f7c956 Refactor for internationalisation of source code 2021-04-18 18:39:55 +02:00
jacques
2a22187ca3 Refactor for internalization 2021-04-12 21:11:50 +02:00
jacques
9bec30327e Add control of dialog with length of string 2021-04-05 22:24:52 +02:00
jacques
c8548fdd0b Add string ans field to improve accessiblity 2021-04-04 20:18:16 +02:00
jacques
374c0abd41 Add rounded field and use new strings 2021-04-04 20:17:38 +02:00
jacques
58ca7f510f Add new string 2021-04-04 20:16:28 +02:00
jacques
523011937e Add animation in tutorial 2021-04-04 20:14:52 +02:00
jacques
a70994eb99 Add some debug information 2021-04-01 21:29:08 +02:00
jacques
c19787694e Fix a bug in scheduleAlarm with the timeZone. 2021-04-01 21:28:30 +02:00
jacques
43b4010b22 Add led color 2021-04-01 21:27:29 +02:00
jacques
465eef1288 Add led color and vibration to the notification 2021-04-01 21:27:12 +02:00
jacques
9e77f6ac11 Change in welcome layout 2021-03-28 23:15:00 +02:00
jacques
6d36fa3839 Change scheduleAlarm algorymth 2021-03-24 18:01:56 +01:00
jacques
e598d4827b Remove unused import;
Add today/tomorrow algorythm
2021-03-20 21:33:20 +01:00
jacques
7b632b18d9 Change List type;
Add loop to move suspended treatment at the end of the list
2021-03-20 21:32:01 +01:00
jacques
5b0a3c4655 Add new Pref, DATABASE_VERSION used to update or not the database. 2021-03-17 13:35:57 +01:00
jacques
2415696c82 New version of the main Datase 2021-03-17 2021-03-17 13:35:01 +01:00
jacques
9f1509c5ec Remove twoPane code 2021-03-17 13:34:12 +01:00
jacques
766a7d7174 Use prefManager to update of not the main database 2021-03-17 13:33:23 +01:00
jacques
424dbc108e - remove unused code (shedulejob)
- remove old todos
- change he alarmanager to use setInexactRepeating
2021-03-03 13:45:27 +01:00
jacques
0958e12a53 Small changes. 2021-03-01 18:53:22 +01:00
jacques
1ae2994045 Small changes. Not really important this code will be removed 2021-03-01 18:52:37 +01:00
jacques
0527691c62 Clean import
Remove call to jobScheduler
Add schedulAlarm call (some improvment must be done in scheduleAlarm)
2021-03-01 18:51:47 +01:00
jacques
2e88d5085a Remove unused code 2021-03-01 18:49:18 +01:00
jacques
6d56fe7a8c Clean import 2021-03-01 18:48:16 +01:00
jacques
97b66b357f Add receive broadcast 2021-03-01 18:46:47 +01:00
jacques
ef27dadcd6 Finish AlarmManager and add NotificationManager 2021-03-01 18:46:15 +01:00
jacques
ce81f80922 Try to launch tutorial with help menu (WIP) 2021-02-09 18:22:08 +01:00
jacques
757b5cf82b Remove some dead code and add debug code. 2021-02-07 21:52:01 +01:00
jacques
602374522e Debug prefsManager usage 2021-02-07 21:51:19 +01:00
jacques
d2dce12c22 Update some strings 2021-02-07 21:50:40 +01:00
jacques
244953d0ad Change some colors and dimens for tutorial 2021-02-07 21:50:23 +01:00
jacques
e5bc4d21d0 Change some icons with vector kind 2021-02-07 21:49:57 +01:00
jacques
f46595bb60 Change icon size 2021-02-07 21:46:41 +01:00
jacques
d3bfc37bbe Add missing dots colors 2021-01-24 22:08:37 +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
6bfc67ab3e Add welcome activity 2021-01-22 21:19:00 +01:00
jacques
100b4f2180 New tutos files 2021-01-22 21:18:38 +01:00
jacques
02a011607c New tito screen 2021-01-22 21:17:55 +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
c982e50a6b New tuto screen 2021-01-22 21:16:09 +01:00
jacques
6d10d00a04 New tuto screens 2021-01-22 21:15:46 +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
2ce52907f0 Change icon source. Better! 2020-12-27 14:37:19 +01:00
jacques
cddee760e1 Change icon stroke size, but not convinced, will see 2020-12-26 21:53:27 +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
5667f3919b Remove unused files 2020-12-23 09:40:48 +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
76ae8d6aaf Minors changesAdd icons 2020-12-07 11:36: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
0681764141 import cleanning 2020-12-07 11:19:50 +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
c584cbd620 Minor automatic changes 2020-12-07 11:05:47 +01:00
jacques
e1a2f9521b clean import 2020-12-07 11:04:57 +01:00
jacques
662eed5f0b Minor changes in the text 2020-12-07 11:04:33 +01:00
Jacques Foucry
1cdd17815d Add svg version of xml icons 2020-10-29 09:47:49 +01:00
jacques
6423a0c3c8 Optimize images weight for memory usage 2020-10-11 16:29:38 +02:00
jacques
65b22df819 fix typo in last tutorial slide 2020-10-11 16:00:22 +02:00
jacques
37c61ed7e1 fix typo in last tutorial slide 2020-10-11 15:59:21 +02:00
jacques
b7da252c9b Remove unused image 2020-10-11 15:58:19 +02:00
jacques
e633c600fe Text last tutorial slide 2020-10-10 17:17:48 +02:00
jacques
676a4df6a0 Last tutorial slide 2020-10-10 17:17:02 +02:00
jacques
0f14b0c785 Add thanks, links 2020-10-10 17:16:00 +02:00
jacques
83fd451457 remove empty lines 2020-10-10 17:12:23 +02:00
jacques
49fb9506f6 Add images for tutorial 2020-10-03 23:19:09 +02:00
jacques
08d4c65eac Add tutorial activity 2020-10-03 23:17:41 +02:00
jacques
1ca1dcef71 Add tutorial definition and call 2020-10-03 23:16:26 +02:00
jacques
45ba594c7b Add tutorial strings 2020-10-03 23:15:45 +02:00
jacques
797db49237 Add icons background 2020-10-03 23:15:12 +02:00
jacques
84885e6112 Add slides colors 2020-10-03 23:13:06 +02:00
jacques
ac2c829119 Move a varaible in class definition 2020-10-03 23:10:43 +02:00
jacques
292a90855f Change text 2020-10-03 23:09:38 +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
f2f2a45136 Add suspended take icon 2020-10-01 13:24:21 +02:00
jacques
9aa03582f3 Remove unused files 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
c5971b329e Change scann window size 2020-09-30 17:56:23 +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
d39a13f453 Add RECEIVE_BOOT_COMPLETE permission 2020-08-15 21:58:49 +02:00
jacques
f74f8a6777 small fix in strings.xml 2020-08-14 15:15:23 +02:00
jacques
4e275d03d2 restore file. may be a git error from me 2020-08-14 15:13:27 +02:00
jacques
fc4e3d1f70 Fix androidIcon and androidRoundIcon; add allowBackup="true" 2020-08-14 15:12:30 +02:00
jacques
1754e9fe5b Fix small log. 2020-08-01 09:36:13 +02:00
jacques
5d9238d001 Added new asset for vector and legacy icon. 2020-07-23 19:18:26 +02:00
jacques
876181eff1 Remove the png icon in order to use the vector version 2020-07-23 09:38:45 +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 Foucry
7715ecc158
Add adaptive icon 2020-07-23 09:14:20 +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
4b80c35e89 Add and fix strings and translations 2020-07-19 20:08:55 +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
4cb8790047 Change scan window size for datamatrix 2020-07-18 20:14:15 +02:00
jacques
694fa6fbcd Add strings and translations 2020-07-15 08:51:29 +02:00
jacques
09342383bb fix aligment; fix bug in dialog result 2020-07-15 08:51:29 +02:00
jacques
21d8cce250 move fiexed strings into strings.xml files 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
cb73cdce70 Add allowBackup=true 2020-07-15 08:51:28 +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
ccd20583b1 Minor changes in xml interface 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
f7e3e86482 Add string. Not translated yet 2020-07-15 08:51:27 +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
3fa9440b11 Add resources for CIP13 input dialog 2020-07-15 08:51:27 +02:00
jacques
8bb20e9ddf Add dimen for alerts 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