tags:

views:

10

answers:

1

How can I play a sound in an activity without requiring the press of a button? I already know how to play the sound, but need to bypass the onClickListener. Thanks for any advice.

A: 

You could tell the sound to play in onStart() or onResume(), which are methods of Activity inherited by your subclass.

tlayton