• 프로그래밍

    [펌] Multitouch and gesture detection

    원문 링크 : Multitouch and gesture detection part 1 원문 링크 : Multitouch and gesture detection part 2 In this little tutorial I’m going to show you how to detect multitouch event on an Activity screen. First of all let’s create a class next to the Main activity that called MultitouchView. It extends View: It has only one consturctor that you must implement. You have to add those two another constructors, otherwise the touch handling will not work: Now let’s edit your main.xml. I’m going to add a new xml element that’s called com.helloandroid.multitouchexample.MultitouchView. In this case com.helloandroid.multitouchexample is my application package name. MultitouchView is the class name of View…