My service (for background music) doesn't start
<p>I create a class for playing background music</p>

<pre><code>public class Background_music extends Service {

    MediaPlayer player;
    public IBinder onBind(Intent arg0) {    
        return null;
    }

    @Override
    public void onCreate() {       
        super.onCreate();      
        player = MediaPlayer.create(this, R.raw.background_music);
        player.setLooping(true);        
        player.start();       
    }

    @Override
    public void onStart(Intent intent, int startId) {    
        super.onStart(intent, startId);     
    }

    public  void onStop(){  
        player.stop();
        player.release();
    }


    public void onPause() {  
          player.stop();  
    }

    public void onResume(){
        player.start();
    }

    @Override
    public void onDestroy() {
      player.stop();
      player.release();
    }
}
</code></pre>

<p>And in my main class i call the service this way</p>

<pre><code>Intent musica_backGround=new Intent(this, Background_music.class);
startService(musica_backGround);
</code></pre>

<p>But the music doesn't start. I Think the problem is that i can't start the service, because even if i try to do other stuff Background_music class, nothing happen</p>

<p>On LogCat i get this message <code>showStatusIcon on inactive InputConnection</code></p>
