I'm working on a Gesture based application launcher.I need to add custom gestures from the application to the gesture library. I tried the method with Gesture builder and copying it to res/raw, It worked. But i need to add more Gestures through my applications add gesture menu..help
I'm not sure what you want, but if you need keep and modify GestureLibrary
you can read and write it at filesystem like this:
final String fileName = "gestures";
final String dir = Environment.getExternalStorageDirectory();
final File storeFile = new File(dir, fileName);
final GestureLibrary gesturelib = GestureLibraries.fromFile(storeFile);
Code of creating gestures you can get from GestureBuilder
example (Sorry, I found only this source, but it copy well-known example with changed names of variables) and read about in how-to.
Or about what gestures you asked?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With