I invocker Active Member Aug 22, 2021 #1 I have use this code from Mr Erel Dim jo As JavaObject jo.InitializeContext jo.RunMethod("moveTaskToBack", Array(True)) but have this error java.lang.RuntimeException: Method: moveTaskToBack not found in: android.app.Application How can resolve it
I have use this code from Mr Erel Dim jo As JavaObject jo.InitializeContext jo.RunMethod("moveTaskToBack", Array(True)) but have this error java.lang.RuntimeException: Method: moveTaskToBack not found in: android.app.Application How can resolve it
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2021 #2 Please use [code]code here...[/code] tags when posting code. What are you trying to do? Are you calling it in the starter service? It should be called from the activity or pages modules. Upvote 0
Please use [code]code here...[/code] tags when posting code. What are you trying to do? Are you calling it in the starter service? It should be called from the activity or pages modules.
I invocker Active Member Aug 23, 2021 #3 Yes I call it from stater service I change It Now Thank you Mr Erel Upvote 0