1

I want to repeat sound and vibration with the repeat of an animation. I've created a mediaplayer object and starting it in onAnimationRepeat

public void onAnimationRepeat(Animation animation) {
    // TODO Auto-generated method stub
            mpDot.start();
    vibrator.vibrate(40L);


}

But nothing is happening. Neither the sound is repeating nor the vibration also onAnimationStart I've called mpDot.start() too... So whenever animation is started sound also starts and stops with it. But it doesn't repeat. Why?

Can anybody help.

Sathyajith Bhat
  • 21,321
  • 22
  • 95
  • 134
user632905
  • 990
  • 9
  • 19

1 Answers1

0

I'm having the same problem, i think they have a bug or something, thats what has been posted here: http://code.google.com/p/android/issues/detail?id=13397

Ofershap
  • 687
  • 2
  • 7
  • 22