title: Android: Validatng password ,conform password and passing a string value  through Button
body: <p>I have fields like password,conform password and gender in my registration page</p>
  
  <p>password             edit text</p>
  
  <p>conform password     edit text</p>
  
  <p>gender               (button01)/(button02)</p>
  
  <p>for password and conform password i want to validate both fields ,I mean the entries(string value) of both fields should be same. If both are same then I want to pass only password value to the server  not both values and In case of gender when I click button 01, I want to pass the input as male(string) to server and same in case of female also. How can I do this?</p>
  
  <p>Help is always appreciated...!  </p>