I am developing socket based android application in which i need to get the status of button whether its ON or OFF. so what i want is i want only updated result from running thread means if status of any button gets changed then i should be notified to i can set button status accordingly.I am developing socket based android applicatio