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 2021-08-10 02:42
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 2021-08-11 08:30- Questions 1.0K
- Answers 2.2K
- Best Answers 135
- Users 507
-
tvd12 added an answer Em cần đặt câu hỏi chi tiết hơn để được hỗ trợ một cách tốt ... 2025-05-31 09:57
-
tvd12 added an answer Bạn gửi request kèm token vào header: <code class="markdown-... 2025-05-07 02:13
-
u0ugfg1mx4sia624 added an answer cho mình hỏi cái token gửi lên cho viettel post, mình để đâu... 2025-05-04 15:40
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