B4X FEED SetShowWhenLocked ... again

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: SetShowWhenLocked ... again است. این موضوع تا کنون 98 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع SetShowWhenLocked ... again
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
98
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
I built an application that need to show an activity at a specific time even if the phone is sleeping. It worked fine with my last phone Galaxy J5 Android 9 but not now with the new A51.
Something goes better if I change the sdk target to 26 instead of 28, but it works if the phone is just gone in standby and not when in deep sleep.
I schedule a service that run properly, this service put the phonewakestate to KeepAlive and then starts an activity with the known SetShowWhenLocked routine but now the activity doesn't starts.
I'm getting mad! Does anyone have a solution?

Thanks.

 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا