Add Gesture Support To Your Application with Airy
Android’s user interface allows for the use of various types of gestures. Accordingly, they have been used in quite a few projects. Gestures like two-finger swipes can be found in third party apps or even bigger projects like HTC Sense. And to many, the use of gestures enhances the Android experience by making things more streamlined, without the need to go through multiple menus.
A totally new approach to gestures can now be taken, thanks to XDA Forum Member mirasmithy who shared a library used in Epoch Launcher. With this library, you can enhance your application’s functionality by adding gesture support. The list of available enhancements is long and contains swipes, pinches, and one or two finger taps. You can define which activities are launched while performing each gesture. Mirasmithy’s library is open source, so you can add it to your own project easily. And as such, it seems to be the perfect solution for launchers and games.
This library can be used in all applications designed to work with Android 2.3 and newer. But if you plan on adding it to your app, don’t forget to give mirasmithy a credit. More information regarding the library and its full source code can be found in the original thread and Github.
Want something on the XDA Portal? Send us a tip!