Commit graph

323 commits

Author SHA1 Message Date
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
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
a9dbc8418a Merge to develop
# Conflicts:
#	app/src/main/java/net/foucry/pilldroid/DBMedoc.java
#	app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java
#	app/src/main/java/net/foucry/pilldroid/SimpleDividerItemDecoration.java
#	app/src/main/res/layout/custom_barcode_scanner.xml
#	build.gradle
2020-07-18 20:26:33 +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
368bd709ec new version of graddle 2020-07-18 20:13:07 +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
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
d098f19f83 Optimization 2020-07-15 08:51:26 +02:00
jacques
3868919546 Update project for new gradle version (4.0.0) 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
38b317b043 remove strings 2020-07-15 08:48:09 +02:00
jacques
5b2aa081d4 Add strings 2020-07-15 08:48:09 +02:00
Jacques Foucry
8fa37f1948 Add start logical for onActivity result 2020-07-15 08:48:03 +02:00
jacques
d5e9b5d94f optimize imports 2020-07-15 08:44:53 +02:00
jacques
d94d4e8cae New translation and strings 2020-07-15 08:44:53 +02:00
jacques
2133010146 Disabled demo mode 2020-07-15 08:44:52 +02:00