Commit graph

298 commits

Author SHA1 Message Date
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
24bf0c7874 Minor change but this code is not used any more.
TODO:remove it
2021-05-07 22:12:55 +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
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
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
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
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
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