Hi,
set the seek bar max size to (totalplaytime/1000)

and ever sec try to fill the seek bar

you have to write a thread and at every 1 sec intervals you have to get the
player cur position and check with the previous position then fill the
seekbar.

sleep the current thread for 1 sec and after resume from sleep get the
current position and do the required operation. this is also work for pause
condition ( check cur_position with previous position)

Thank you.

On Mon, May 11, 2009 at 5:24 PM, Muthu Kumar K. <[email protected]> wrote:

>
> Hi All,
> I have developed seek bar component (I am showing while playing the
> song). If i seeks the bar the song is getting changed the position
> based on the seek bar change event, and playing fine. But if I leave
> the seek bar it is not moving based on the song sequence. I know we
> have to do something for that. Can any one tell me how to get the
> event for moving the seek bar based on the song sequence.
>
> Thanks in Advance,
> Muthu Kumar K.
> >
>


-- 
Dilli Rao. M

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to