0

Get CheckBox value in Android Java Code

//MainActivity.java [code language=”css”] package codeof.sandy; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.CheckBox; public class MainActivity extends Activity { CheckBox chkfair, chkgood, chkgreat, chkexcellent @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTitle("CheckBoxActivity"); setContentView(R.layout.main); find_and_modify_text_view(); } private void find_and_modify_text_view()… Continue Reading