Android - how to make a local Service
In Android local Services my the convince that the thread the run in is the same thread as the thread that created them. To make a local service you change the AndroidManifest.xml <service /> tag so that the process attribute is absent.
So for my TestMc code I changed the manifest <service /> tag from this:
<service class=”.TestMcService” android:process=”:remote” />
To:
<service class=”.TestMcService” />