I want to run a long running Service in the background in my App.so i am using Service for that but in the service there is tag called android:process
So my service is like..
<service
android:name="com.purpleshade.services.ApplicationService"
android:process=":myprocess">
Question::
So i want to know about the Advantages and disadvantages of running a Service
in different Process.
Off the top of my head...
Downsides:
Upside:
Con : Using
android:process=":myprocess"
is really bad if you want to update values or communicate with the app, none of your values will get updated.Be careful while using it. (It took me a 2 days to figure out)
Pro : Doesn't block the app while running long process.