chjk Member Licensed User Longtime User Sep 13, 2013 #1 I know AndroidManifest.xml, set the "androidrocess" property of service Code: Copy SetServiceAttribute(testService, android:process,"com.b4a.testService") but Main StartService(testService) fail, how to solve this problem, the realization of a multi-process applications Last edited: Sep 13, 2013
I know AndroidManifest.xml, set the "androidrocess" property of service Code: Copy SetServiceAttribute(testService, android:process,"com.b4a.testService") but Main StartService(testService) fail, how to solve this problem, the realization of a multi-process applications
Erel B4X founder Staff member Licensed User Longtime User Sep 15, 2013 #2 Why do you want to run it in a different process? Upvote 0
chjk Member Licensed User Longtime User Sep 16, 2013 #3 Erel said: Why do you want to run it in a different process? Click to expand... Want to make the main process memory occupation and less, let another process is responsible for the work of push etc. Upvote 0
Erel said: Why do you want to run it in a different process? Click to expand... Want to make the main process memory occupation and less, let another process is responsible for the work of push etc.
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2013 #4 You will need to break your app into two apps. Working with a Service from a different process is much more complicated and will not work with the standard B4A service. Upvote 0
You will need to break your app into two apps. Working with a Service from a different process is much more complicated and will not work with the standard B4A service.