How can i wait for clicked any button on android? [closed]

alangull

New Member
Please help me, i have got nine buttons in my project on android and i want to wait for clicked any button. How can i do? Thanks for all. i want to convert console application to android app. but at my console application wait for input;\[code\] Scanner oku=new Scanner (System.in); int x = oku.nextInt(); int y = oku.nextInt();\[/code\]and at my android app. i have got a Button array(matrix) \[code\]final Button[][] butons = new Button[3][3];\[/code\]i want to do , my project wait for any button and after than continue. Because at console app x,y =at android app button[j]s' i,j.
 
Back
Top