title: Android Service multiple instances
body: <p>Im still a bit new to the Android Service Class.  I know you need to start the service from your application with startService(intent), however my problem is my service has methods inside it.  I need to start the service with an intent and then create an object of that class in my Activity so I can call methods of the service.  The problem is when I do this I create one instance of the service when I start it with an intent and another instance of the service when I create an object of the class in my activity.  This means any data passed to the service from startService(intent) is not there when I create the object of the service.  Any ways around this or am I just totally misusing the service class?  I can give some code but its basically this:</p>
  
  <pre><code>//Create Object of ControlPanel service class.
  ControlPanel cPanel = new ControlPanel();
  //Create intent for starting ControlPanel service class
  Intent controlPanel = new Intent(this, cPanel.getClass());
  //Start Service
  startService(controlPanel);
  </code></pre>