Code example for CheckBox

Methods: setEnabled, setChecked

0
				boo_cons = true;
				chk_lion.setEnabled(true);
			}else { 
				chk_cons.setChecked(false);
				boo_cons = false;
				chk_lion.setEnabled(false);
        		boo_lion = false;
			} 
			 
		} 
		catch (Exception e) {  
            e.printStackTrace();  
        } 
		// Test if Lionheart is already enabled, and check it in the App 
		try { 
			File f = new File("/data/neak/lionheart");
			if (f.exists()) {
				chk_lion.setChecked(true);
				boo_lion = true;
			}else { 
				chk_lion.setChecked(false);
				boo_lion = false;
			} 
			 
		} 
		catch (Exception e) {