Doing a loop on android (Audio)

Posted by James Rattray on Stack Overflow See other posts from Stack Overflow or by James Rattray
Published on 2010-04-21T17:00:08Z Indexed on 2010/04/21 17:03 UTC
Read the original article Hit count: 249

Filed under:
|
|
|
|

I have a track I want to play 'megadeth', i'm calling it by...

    final MediaPlayer mp = MediaPlayer.create(this, R.raw.megadeth);

And playing it by using 'mp.start'

And I just want to know, how can I get this audio mp3 to loop? -Can you give me the code?

Thanks alot,

© Stack Overflow or respective owner

Related posts about android

Related posts about java