Be sure to use this approach:

     final Button button = (Button) findViewById(R.id.button_id);
         button.setOnClickListener(new View.OnClickListener() {
             public void onClick(View v) {
                 // Perform action on click
             }
         });


On Thursday, November 1, 2012 12:25:21 AM UTC-5, Sadhna Upadhyay wrote:
>
>  Hi everybody i am playing a audio o button click then it is playin twice 
> on single click why it is happening,i dont know please help me if any one 
> of you know the reason.
>

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

Reply via email to