B4A Question Exclude from recents programatically - Erel (first post)    Aug 20, 2024 I don't think that it is possible.
What you can do is to have two different activities, one with this setting and one without and use them based on the user choice. B4A Question Custom icon in recent list - Eldritch    Oct 17, 2019 Hi
I'm working on an app where the content is not something that should be shown in the recent app list.
I've tried SetActivityAttribute(Main, "android:excludeFromRecents", "true") in the manifest and this removes the apps icon in the list. Unfortunately this also kills the app every time I swap to B4A Question Starter Service Clarification - PaulMeuris (first post)    Oct 24, 2024   (1 reaction) A new empty project. The normal Click button is not available.
The first time it is available but when you remove the app from the recent apps list it will get stuck on my device.
157962 157963
The app runs in release mode on a Android 14 device.
It will get stuck if you leave the starter module i B4A Question recognize when opened from recent apps - Erel (first post)    Dec 22, 2016   (1 reaction) Add this to the manifest editor:
SetActivityAttribute(Main, android:excludeFromRecents, "true")
I don't think that it is possible to distinguish between the two options. B4A Question Activity.Finish - Douglas Farias (first post)    Jul 15, 2019   (1 reaction) Hi Sorry to back a old thread, but the subject of my question is totally linked to this.
this code is working fine on Android 5+, perfect....
I would like to know if anyone has this same solution for Android <5.
i need excludefromrecents via code (not manifest), and this need work on android 3, 4 e B4A Question play music without stopping - Semen Matusovskiy (first post)    Oct 15, 2018   (1 reaction) You can remove an application from recent list by adding into manifest SetActivityAttribute (Main, android:excludeFromRecents, "true") B4i Question How to prevent having an app listed in recent apps? - web-yacht    Dec 23, 2016 I've recently posted the same question in B4A forum, and the solution:
SetActivityAttribute(Main, android:excludeFromRecents, "true")
works great in Android, thanks.
Now there is something similar in IOS? B4A Example Base app for new user to rapid build app - peacemaker (first post)    Aug 26, 2018   (3 reactions) Thanks for the good template ! I'd like to suggest also some of my code: #Region Service Attributes #StartAtBoot: False #ExcludeFromLibrary: True #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be acce Italian azzerare le autorizzazioni - LucaMs (first post)    Mar 19, 2020   (1 reaction) Non puoi fare casini, crea un servizio e dagli il nome Starter, poi copiaci tutto ciò che trovi nello Starter che trovi appena avvii B4A. Insomma, questo: #Region Service Attributes #StartAtBoot: False #ExcludeFromLibrary: True #End Region Sub Process_Globals 'These global variables Italian [RISOLTO] Avvio App al boot del tablet - Lello1964    May 28, 2021 AddPermission(android.permission.RECEIVE_BOOT_COMPLETED) #Region Service Attributes #StartAtBoot: true #ExcludeFromLibrary: True #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all mod Page: 1   2   3   4   5   6   7   Powered by ColBERT |