waiting for a click

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

waiting for a click

Postby ShafLe » Sun Feb 14, 2010 10:16 pm

Hye. I need from my app to stop doing anything until the user clicks one of the buttons..
I mean, I want the app to run, then wait for the user to click a button and then continue to run the code..
Is that possible?
Or maybe you have another way:
I have an int, and every button sets to the int other number. for example. the blue button make this int equal to one, the red makes it equals to two etc.. But the app keeps running and it uses the int when the app starts.. So that is why I want it to wait until the user clicks on one of the buttons.

plz help
ShafLe
Freshman
Freshman
 
Posts: 2
Joined: Fri Feb 05, 2010 11:45 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests