I want If the button has the text start execute start capture.
and if the button has the text stop execute stop capture.
if { //button text is start
   //start capture
} else if { //button text is stop
   // stop capture
}
how to compare text in buttons on android?
 
     
     
     
    