Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

onclick button in java android

Button button = (Button) findViewById(R.id.button1);
 button.setOnClickListener(new OnClickListener() {

    public void onClick(View v) {
        // TODO Auto-generated method stub

    }
 });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #onclick #button #java #android
ADD COMMENT
Topic
Name
7+9 =