Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multitouch support in android SDK 2.2

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I am using android SDK version 2.2 .I need to recognize multi touch events in android SDK.
I googled a lot but there are mix responses regarding multitouch support in SDK. I know it is supported on 2.2 devices.

What I need to do is...

There are three buttons on screen. If user press all the three buttons. I need to recognize them all.

From google I also came to know that MotionEvent class is used to make this possible. But do not know, how?


Please Help.
Any link of tutorial or demo code will be more helpful to me.
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a nice tutorial on multi-touch in Android here...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!