Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] CheckBox checked after Button Press

OP bolobit64

23rd April 2014, 07:13 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Apr 2014
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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes