Android Question Hide and Show my application

lindomar

Member
Licensed User
Longtime User
Please, hide and show my application?
Is it possible or no to hide and show application in B4a?
 

lindomar

Member
Licensed User
Longtime User
No works, my application closed no hide using...

Dim r AsReflectorDim cn AsObject = r.CreateObject2("android.content.ComponentName", _ArrayAsObject("<package>", "<class>"), ArrayAsString("java.lang.String", "java.lang.String"))
r.Target = <package manager Object>'COMPONENT_ENABLED_STATE_ENABLED = 1
'COMPONENT_ENABLED_STATE_DISABLED = 2r.RunMethod4("setComponentEnabledSetting", ArrayAsObject(cn, 2, 0), _ArrayAsString("android.content.ComponentName", "java.lang.int", "java.lang.int"))
 
Upvote 0
Top