autosum checkbox
<p>So the thing I am trying to accomplish should be exactly like this : <a href="http://www.javascriptbank.com/simple-javascript-auto-sum-with-checkboxes.html/en/" rel="nofollow">http://www.javascriptbank.com/simple-javascript-auto-sum-with-checkboxes.html/en/</a></p>

<p>Unfortunately im not shure if thats even possible so I would appreciate any kind of help or idea . Thanks in advance.Some thing that i have so far:</p>

<pre><code>CheckBox chkone;
CheckBox chktwo;
CheckBox chkthree;
TextView tv;
OnClickListener checkBoxListener;


@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    chkone = (CheckBox)findViewById(R.id.chk1);
    chktwo = (CheckBox)findViewById(R.id.chk2);
    thkthree = (CheckBox)findViewById(R.id.chk3);


checkBoxListener = new OnClickListener() {

        //@Override
        public void onClick(View v) {

            tv = (TextView)findViewById(R.id.tv1);

            if (chkone.isChecked())
            {   
              // something

            }

        }
    };

    chkone.setOnClickListener(checkBoxListener);
    chktwo.setOnClickListener(checkBoxListener);
    chkthree.setOnClickListener(checkBoxListener);
</code></pre>
