incendio Well-Known Member Licensed User Longtime User Jul 7, 2014 #1 Hi guys, Is there a function in B4A to stop/run a service/system app? I want to build a widget, that able to stop/run, for example Google play service when it clicked.
Hi guys, Is there a function in B4A to stop/run a service/system app? I want to build a widget, that able to stop/run, for example Google play service when it clicked.
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2014 #2 You can send an intent to start other apps. Use PackageManager.GetApplicationIntent to find the correct intent. Upvote 0
You can send an intent to start other apps. Use PackageManager.GetApplicationIntent to find the correct intent.
incendio Well-Known Member Licensed User Longtime User Jul 8, 2014 #3 Thanks for your replied. Is there any sample codes or which tutorial for intents should I follow? And how to stop running app? Upvote 0
Thanks for your replied. Is there any sample codes or which tutorial for intents should I follow? And how to stop running app?
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2014 #4 You cannot stop a different app. You can use a service to show your app again. There are many relevant discussions: http://www.b4x.com/android/forum/pa...Manager+GetApplicationIntent+&page=1&prefix=0 Upvote 0
You cannot stop a different app. You can use a service to show your app again. There are many relevant discussions: http://www.b4x.com/android/forum/pa...Manager+GetApplicationIntent+&page=1&prefix=0