How to keep service alive even after activity destroyed?
<p>Here i am running a service for music play back. 
This code snippet is in my onStart() method of my Activity</p>

<pre><code>if(musicServiceStartIntent == null) {
            musicServiceStartIntent = new Intent(this, MusicService.class);
            startService(musicServiceStartIntent);
            bindService(musicServiceStartIntent, musicConnection, Context.BIND_AUTO_CREATE);
        } 
</code></pre>

<p>First i'm starting my service then binding it. And i am calling unbindservice() in onDestroy() method. My Activity got destroyed and service stopped. </p>

<pre><code>unbindService(musicConnection);
</code></pre>

<p>Manifest file declaration</p>

<pre><code>&lt;service android:name=".Services.MusicService"/&gt;
</code></pre>

<p>How can i keep my service running in background even after activity destroyed. I refer  few threads of StackOverflow but they are not helpful.</p>