I am trying to send value to server using json,what I am trying is when I select checkbox I want to send "Y",,in my json active=Y is status of user activation and deactivation,,following is code what i tried,but its not working,it always shows active=N
proactives=(CheckBox)findViewById(R.id.edt_proactive);
if(proactives.isChecked()==true)
{
proactives.setTag("Y");
}
if(proactives.isChecked()==false)
{
proactives.setTag("N");
}