invisible application

cjolly

Member
Licensed User
Longtime User
Hi,

I Have a b4a an application that functions as a service, it's possible to make it completely invisible (no icon display any where) to users so they can't stop or delete the application?

*TIA*
Charles
 

JonPM

Well-Known Member
Licensed User
Longtime User
No. The app will always be listed in the Running and Downloaded apps sections of settings.
 
Upvote 0

cjolly

Member
Licensed User
Longtime User
giving shot in the dark, I tried adding "android." the package name and application label and with that I have no more application icon on the desktop of the phone.

this worked with the samsung galaxy mini 2 android version 2.3.6, someone could test if it works on other phones?

*TIA*
 
Upvote 0

fanfalveto

Active Member
Licensed User
Longtime User
If you add this in manifest editor
B4X:
AddReplacement(<category android:name="android.intent.category.LAUNCHER" />, <!--<category android:name="android.intent.category.LAUNCHER" /> -->)
   SetActivityAttribute(Main, "android:excludeFromRecents", "true")
is better, only you can see the application in services running
 
Upvote 0
Top