title: Move an object from one Activity to a Service
body: <p>I need to move an object from an activity to a service. This is my attempt at the Activity side.</p>
  
  <pre><code>      Waveform waveform = new Waveform();
        Intent intent = new Intent(this, StimulationService.class);
        Bundle bundle = new Bundle();
        bundle.putParcelable("test", (Parcelable) waveform);
        intent.putExtras(bundle);
        startService(intent);
  </code></pre>
  
  <p>I have placed this code in the onStart() function in the service.</p>
  
  <pre><code>        Bundle bundle = this.getIntent().getExtras();
          if(bundle!=null)
          mWaveform = bundle.getParcelable(waveform);
  </code></pre>
  
  <p>I'm getting errors for the function "getIntent" and "waveform" inside the getParcelable().
  Any help or guidance is appreciated.</p>