Share & grow the worlds knowledge!
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
1 Answer
-
0
- Reply
am.setInexactRepeating(
AlarmManager.RTC_WAKEUP,
calendar.timeInMillis,
24 60 60 1000, //1 day pendingIntent)
e có thử thay cái 1day = 5s là 5 1000 thì cũng hoạt động chính xác 5s a. phải gần 1p nó mới gửi đc 1 cái
– datnk 1628563351000
Theo em thì sẽ lưu cái list đó, index push, index list size vào local. Sau đó sẽ notification local bằng alarm manager kết hợp với broast cast. Cứ tới ngày thì set lại index push cho tới khi index push = index list size thì reset lại index push. Ngoài ra thì nếu theo lịch cố định theo ngày thì có thể sử dụng Worker Manager cũng đc. 😃.
tác giả: Trần Quốc Tuấn
– tvd12 1628670633000- Questions 985
- Answers 2.1K
- Best Answers 124
- Users 447
-
monkey added an answer You can change the pom.xml to:<div class="markdown-block pos... 1711595433000
-
monkey added an answer listen sự kiện của window scroll, check khi gần đến bottom t... 1711443096000
Related Questions
Recent Activities
-
Voted up question. January 9, 2023 at 2:54 pm
-
Voted up question. January 9, 2023 at 2:54 pm
-
Voted up question. January 9, 2023 at 2:54 pm
-
Voted up question. January 9, 2023 at 2:54 pm
-
Voted up question. January 9, 2023 at 2:54 pm