[android-developers] Re: how to add progress bar with media Player??????

2010-04-27 Thread ulqui
up :p On 23 avr, 13:12, ulqui habibedday...@yahoo.fr wrote: up On 22 avr, 13:45, ulqui habibedday...@yahoo.fr wrote: up please i tried public void updateTime(){     int ttld=mMediaPlayer.getDuration();          int nowd=mMediaPlayer.getCurrentPosition();          int

[android-developers] Re: how to add progress bar with media Player??????

2010-04-23 Thread ulqui
up On 22 avr, 13:45, ulqui habibedday...@yahoo.fr wrote: up please i tried public void updateTime(){     int ttld=mMediaPlayer.getDuration();          int nowd=mMediaPlayer.getCurrentPosition();          int tremaning=(ttld-nowd);          String s=getString(tremaning);          TextView

[android-developers] Re: how to add progress bar with media Player??????

2010-04-22 Thread ulqui
up please i tried public void updateTime(){ int ttld=mMediaPlayer.getDuration(); int nowd=mMediaPlayer.getCurrentPosition(); int tremaning=(ttld-nowd); String s=getString(tremaning); TextView tv=(TextView) findViewById(R.id.listMusique);

[android-developers] Re: how to add progress bar with media Player??????

2010-04-22 Thread ulqui
up please i tried public void updateTime(){ int ttld=mMediaPlayer.getDuration(); int nowd=mMediaPlayer.getCurrentPosition(); int tremaning=(ttld-nowd); String s=getString(tremaning); TextView tv=(TextView) findViewById(R.id.listMusique);

[android-developers] Re: how to add progress bar with media Player??????

2010-04-21 Thread ulqui
hello thx a lot for your example it works perfectly ^^ you save me :p Now i will put also the duration of the track with time it s also a progressbar style or other ? thx alot for your help On 20 avr, 13:17, ulqui habibedday...@yahoo.fr wrote: ok thx a lot for your help I will try

[android-developers] Re: how to add progress bar with media Player??????

2010-04-20 Thread ulqui
ok thx a lot for your help I will try this thx ^^ On 19 avr, 16:56, Mark Murphy mmur...@commonsware.com wrote: ulqui wrote: hi i am currently working in a media player application with a progress bar. It work well but i am searching for a listener or something that will make the

[android-developers] Re: how to add progress bar with media Player??????

2010-04-19 Thread ulqui
hi i am currently working in a media player application with a progress bar. It work well but i am searching for a listener or something that will make the progressbar move each second the track is playing but have found nothing. i had tried private ProgressBar barre; private int

[android-developers] Re: how to add progress bar with media Player??????

2008-07-01 Thread Josh Guilfoyle
Simply using the activities message loop to schedule an update message every second. The resolution of this timer will be sufficient to report seconds of play to the user, however if you feel that it is necessary to calibrate further you can invoke MediaPlayer#getCurrentPosition inside your

[android-developers] Re: how to add progress bar with media Player??????

2008-07-01 Thread David Given
Josh Guilfoyle wrote: Simply using the activities message loop to schedule an update message every second. The resolution of this timer will be sufficient to report seconds of play to the user, however if you feel that it is necessary to calibrate further you can invoke