Quantcast
Channel: Kommentare zu: Activity with multitouch for Buttons
Browsing all 6 articles
Browse latest View live

Von: Ryan

Thank you so much, excellent example!

View Article



Von: Vinay

So I want to show a toast with a message when a set of 2 buttons are pressed….so say I want to show a toast with message “Hi” when button 1 and 3 are pressed.How will I do that?? please help me!!...

View Article

Von: Reiszecke

Helped a lot, but Eclipse still sees a few errors in there: for (View view : views) ______________|^| : “Type mismatch: cannot convert from element type Object to View” View view =...

View Article

Von: Pascal

first go to the newer version linked above. then download the zip package and don’t copy the Text from the page.

View Article

Von: alex

Thanks, but if I don’t want to have 10 statements every second how do I make, that just UP and DOWN for every button is called once?

View Article


Von: passsy

do this: public boolean onTouchEvent( MotionEvent event ){ if (event.getActionMasked()==MotionEvent.ACTION_UP ||event.getActionMasked()==MotionEvent.ACTION_DOWN){ //TODO do something } //ignore the...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images