title: Android trying to get my app to talk to a local service
body: <p>I have created a Service locally and was wondering if there was a way to call its methods.  I was thinking about using stream sockets and have the client send messages to the service, but this seems like to much work.
  The code I have to create the service</p>
  
  <pre><code>public class Welcome extends Activity implements OnClickListener{
      private static final int NOTIFY_ME_ID=1337;
      private Timer timer=new Timer();
      private int count=0;
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
           // set up buttons
          View mAppoitment = findViewById(R.id.appoitment);
          mAppoitment.setOnClickListener(this);
  
      // start background thread
          Log.v("TED:", "Starting thread");
          startService(new Intent(Welcome.this,
                  BackgroundService.class));
  </code></pre>
  
  <p>Ted</p>