Remove All Ads from XDA

[Q] CheckBox checked after Button Press

1 posts
Thanks Meter: 0
By bolobit64, Junior Member on 23rd April 2014, 07:13 AM
Post Reply Email Thread
Main.xml: 8 checkboxes vertically. Next to each checkbox is a corresponding TextView and seekbar. One button at the bottom.

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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes