Hi,

In my application i'm playing a 1 second sound clip when the user
clicks on a button. after that a mall thread sleep then i have
assigned a small animation to the particular button. (500ms
duration).
Animation works fine without sound. But when I put sound the animation
is not consistent.

Why is that?

                mp = MediaPlayer.create(this, R.raw.over);
                try {
                        mp.prepare();
                } catch (IOException e) {
                        Log.w("EXCEPTION", "IO");
                        e.printStackTrace();
                }

Do i need to start sound on  a different thread?
Is there anything to concern regarding this?

Thanks for the help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to