Description: Mobile phone input method gesture recognition source code input method gesture recognition
Note: android.gesture this class in the api-4 (SDK1.6) was started to support the!
Reminder: the default save to SD card, so do not forget to read and write permissions on the AndroidMainfest.xml plus SD card!
About two ways of creating the SDcard simulator in Android2D [ten] game development Xiangjie
If (Environment.getExternalStorageState) = null (!) {// whether this method has sdcard in the test terminal!
If (file.exists) {// (!) to determine whether the gesture file already exists
The file does not exist// when we go directly to the file in our hand
To Search:
File list (Check if you may need any files):
GestureProject
..............\.classpath
..............\.project
..............\AndroidManifest.xml
..............\assets
..............\bin
..............\...\classes.dex
..............\...\com
..............\...\...\himi
..............\...\...\....\MainActivity$1.class
..............\...\...\....\MainActivity.class
..............\...\...\....\MySurfaceView.class
..............\...\...\....\R$attr.class
..............\...\...\....\R$drawable.class
..............\...\...\....\R$id.class
..............\...\...\....\R$layout.class
..............\...\...\....\R$string.class
..............\...\...\....\R.class
..............\...\GestureProject.apk
..............\...\resources.ap_
..............\default.properties
..............\gen
..............\...\com
..............\...\...\himi
..............\...\...\....\R.java
..............\res
..............\...\drawable-hdpi
..............\...\.............\icon.png
..............\...\drawable-ldpi
..............\...\.............\icon.png
..............\...\drawable-mdpi
..............\...\.............\icon.png
..............\...\layout
..............\...\......\main.xml
..............\...\values
..............\...\......\strings.xml
..............\src
..............\...\com
..............\...\...\himi
..............\...\...\....\MainActivity.java
..............\...\...\....\MySurfaceView.java
..............\说明.htm