Re: [android-developers] Re: Playing sound with mediaplayer

2011-02-24 Thread Marcin Orlowski
On 24 February 2011 13:30, kernelpanic wrote: > I understand > > But he is using one of the static convenience methods which states > that prepare must not be called again Right, my bad them -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: Playing sound with mediaplayer

2011-02-24 Thread kernelpanic
I understand But he is using one of the static convenience methods which states that prepare must not be called again http://developer.android.com/reference/android/media/MediaPlayer.html#create%28android.content.Context,%20int%29 regards, kp On Feb 24, 1:30 am, Marcin Orlowski wrote: > On 24

Re: [android-developers] Re: Playing sound with mediaplayer

2011-02-23 Thread Marcin Orlowski
On 24 February 2011 00:54, kernelpanic wrote: > shouldn't have to call prepare - according to the docs, that is > already done IF the mediaPlayer was successfully created. It actually > says prepare must not be called again. Read there: http://developer.android.com/reference/android/media/MediaPl

[android-developers] Re: Playing sound with mediaplayer

2011-02-23 Thread kernelpanic
shouldn't have to call prepare - according to the docs, that is already done IF the mediaPlayer was successfully created. It actually says prepare must not be called again. On Feb 23, 5:06 pm, vnv wrote: > Adding prepare made no progress. I have no sound at all. Currently it > was failing with s

[android-developers] Re: Playing sound with mediaplayer

2011-02-23 Thread vnv
On Feb 23, 11:40 pm, Marcin Orlowski wrote: > > Am I missing something? > > You miss prepare() before calling > start()http://developer.android.com/reference/android/media/MediaPlayer.html... > I've tried like this MediaPlayer mp = MediaPlayer.create(Calibrate.this, R.ra