up :p
On 23 avr, 13:12, ulqui wrote:
> up
>
> On 22 avr, 13:45, ulqui wrote:
>
>
>
> > up please
> > i tried
>
> > public void updateTime(){
> > int ttld=mMediaPlayer.getDuration();
> > int nowd=mMediaPlayer.getCurrentPosition();
> > int tremaning=(ttld-nowd);
> >
up
On 22 avr, 13:45, ulqui 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 tv=(TextView)
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);
tv.setText(
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);
tv.setText(
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 wrote:
> ok
>
> thx a lot for your help
> I will try this
>
> thx ^^
>
> On
ok
thx a lot for your help
I will try this
thx ^^
On 19 avr, 16:56, Mark Murphy 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 progressbar mov
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 du
I'm using the last SDK m5-rc15, and getDuration() works fine on mp4
and m4v. I've read that if the mediafile isn't correct, getDuration
may crash.
Fräntz
On 2 juil, 09:45, bins <[EMAIL PROTECTED]> wrote:
> hi..
>
> MediaPlayer.isPlaying() is not working in my sdk,and MediaPlayer.
> getDuration
hi..
MediaPlayer.isPlaying() is not working in my sdk,and MediaPlayer.
getDuration() also not working.
is this function working??
bins...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers
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
> MediaPlayer#getC
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 messa
11 matches
Mail list logo