How to use startService() in ActivityGroup?
<p>In ActivityGroup, if I want to jump to another Activity by startActivity()</p>

<p>the code will change to </p>

<pre><code>private void ActivityGroupIntent(Intent intent) {
    View view = Group.group
            .getLocalActivityManager()
            .startActivity("another_activity",
                    intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP))
            .getDecorView();
    Group.group.replaceView(view);
}
</code></pre>

<p>but today i want to start a service by starService()</p>

<p>How can I do?</p>

<p>I tried <code>getParent().startService(intent);</code></p>

<p>it crashed due to</p>

<pre><code>android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
</code></pre>
