Changes

Jump to: navigation, search
Loading the Gestures File
}
</pre>
 
<google>BUY_ANDROID</google>
The above code changes to the onCreate() method declare a GestureLibrary instance named gLibrary and then loads into it the contents of the gestures file located in the raw resources folder. The activity class has also been modified to implement the OnGesturePerformedListener interface, which requires the implementation of the onGesturePerformed callback method (which will be created in a later section of this chapter).

Navigation menu