android using Service to update seekbar
<p>I am trying to run MP3 Playback service in the background which implements aidl interface. Here is my aidl interface:</p>

<pre><code>interface MPInterface {

              void clearPlaylist();

              void addSongPlaylist( in String song );

              void playFile( in int position );       

              void pause();

              void stop();

              void skipForward();

              void skipBack();

              void test(in String track);

              int getCurrentDuration();

              int getDuration();

      }
</code></pre>

<p>Afterwards I create MediaPlayerService which implements above MPInterface and then bind the service to activity. Normal methods like playFile(), stop() or pause() work flawlessly. But they are all background task. I want my service and interface able to interact with UI element like seekbar (such as when you touch the seekbar mediaplayer seek to the point or seekbar progress updates accordingly to mediaplayer progress). Any good pointer or tutorial to help me achieve this?</p>
