B4A Tutorial Receivers and Services in 2023+ - Erel (first post)    Jan 10, 2023   (4 reactions) It is the same as with services, only an app that requested the special "draw over apps" can start activities from the background: https://www.b4x.-on-top-of-other-apps-permission.90513 B4A Question How to kill app2 from my service app1 ? - Erel (first post)    Sep 23, 2021 True. With the special draw over apps permission, you can bring your app to the foreground. B4A Question Widget and Page for edit - Erel (first post)    Nov 14, 2021   (1 reaction) You can call StartActivity(Main), however on Android 10+, starting an activity from a service is only possible with the special "draw over apps" permission (I haven't tested it with widgets so there might be a special case here). B4A Question Unable to activate my app in the background - Ivica Golubovic (first post)    Nov 25, 2021   (1 reaction) You must grant "draw over other app" to Start activity over other activity from background. Also, check that the battery optimization process does not shut down the service from the background. B4A Question Different button sizes in Msgbox2Async and Android 11 - Erel (first post)    Nov 11, 2021   (1 reaction) This will not work on Android 10, unless you are requesting the special draw over apps permission.
It will allow you to customize it. B4A Question Chicken and egg problem with Home screen widget and B4XPages - Erel (first post)    Dec 06, 2021   (1 reaction) More correct: can I start an activity from a service (starting Main will cause the pages to start)? Answer: Starting from Android 10 it requires the special draw over apps permission. If you get this permission then you can call StartActivity(Main) to start the pages. B4A Question Auto start app after self update - Erel (first post)    Sep 26, 2019   (1 reaction) True. It will not work. Only apps that were granted with the special draw over other apps permission can start an activity from the background (https://www.b4x.-on-top-of-other-apps-permission.90513/#content). The recommended alternative is to show a notification instead. B4A Question how to open other app from Service or swith myself? - xiaoyao (first post)    Nov 10, 2024 what's Draw Over Apps permission?
if i make a app top in android desktop like a icon of i small window?maybe i click it ,will show main activity? B4A Question Dialog run from service - toby (first post)    Aug 07, 2022   (1 reaction) You need draw-Over permission https://www.b4x.-on-top-of-other-apps-permission.90513/ B4A Question Resume black screen activity on service event - Erel (first post)    Jan 18, 2024 You need to request the special "draw over apps" permission. This will allow you to call StartActivity(Main) from the service. https://www.b4x.-on-top-of-other-apps-permission.90513/#content Page: 1   2   3   4   5   6   7   Powered by ColBERT |