[Q] CheckBox checked after Button Press

Search This thread

bolobit64

New member
Apr 23, 2014
1
0
Main.xml: 8 checkboxes vertically. Next to each checkbox is a corresponding TextView and seekbar. One button at the bottom.

MainActivity:
What I am trying to do: I am trying to control solenoid valves through a IOIO by choosing up to 8 motors based on the checkboxes then turn them on only after I hit the button at the bottom. Then they delay for the slidebars value corresponding to clicked checkboxes. and then turn off.

What is the question: How do I see which checkboxes have been selected after the button is pressed?

P.S. If their is a easier way other than checkboxes i am willing and able to change it. The main thing is that it must be read after the button press. then coded to turn on,delay, and then turn off after the button press has read which were selected.