title: Communicate with foreground service android
body: <p>First question here, but I've been around for a while.</p>
  
  <p><strong>What do I have:</strong> </p>
  
  <p>I'm building an Android app which plays audio streams and online playlists. Everything is working fine now, but I'm having issues in communicating with my service.</p>
  
  <p>The music is playing in a Service, started with startForeground, so it doesn't gets killed.</p>
  
  <p>I need to communicate from my activity with the service, for getting the track name, image, and a couple of things more.</p>
  
  <p><strong>Whats my issue:</strong></p>
  
  <p>I think I need to start my service with bindService (instead of my current startService) so the activity can talk to it. </p>
  
  <p>However, when I do that, my service gets killed after closing the Activity.</p>
  
  <p>How can I get both? Binding and foreground service?</p>
  
  <p>Thanks!</p>