title: Communication between Activity and Service
body: <p>I am trying to make my own MusicPlayer for android. Where i came to a problem is running some things in background. Main activity manages GUI and up to now all the songs are playing. I wanted to separate GUI and music playing classes. I want to put music managing part in Service and leave other things as they are now. </p>
  
  <p>My problem is that i can't organize communication between Activity and Service as lot of communication is happening between them including moving objects in both directions. I tried many techniques that I searched here on Stack Overflow but every time I had problems. I need Service to be able to send objects to Activity and vice versa. When I add widget i also want it to be able to communicate with Service.</p>
  
  <p>Any tips are appreciated, if you need source code place comment bellow but now in this transition it became chaotic.</p>
  
  <p>Is there any more advanced tutorial on this than calling one method that returns random number from service? :P </p>
  
  <p>EDIT: Possible solution is to use RoboGuice library and move objects with injection</p>