I'm not sure what you want, but if you need to save and modify the GestureLibrary
, you can read and write it to the file system as follows:
final String fileName = "gestures"; final String dir = Environment.getExternalStorageDirectory(); final File storeFile = new File(dir, fileName); final GestureLibrary gesturelib = GestureLibraries.fromFile(storeFile);
The code for creating gestures, which you can get from the GestureBuilder
example (Sorry, I found only this source, but it copies a well-known example with changed variable names) and read in how-to .
Or what gestures did you ask?
source share