Sunday, 15 September 2013

Android music player inside service and seek bar in acivity how to sync both?

Android music player inside service and seek bar in acivity how to sync both?

Android music player inside service and seekbar in activity how to sync
both, I tried with a broad cast receiver inside activity to update seek
bar and send broadcast from service in every 2 seconds. but that is not
updating seekbar, I'm using a handler inside activity and passing that
while creating Broadcast receiver object and I use
handler.post(runnable... to update seekbar inside receiver. How can I
solve this I need to sync the seekbar and mediaplayer?

No comments:

Post a Comment