Tomek Kondrat · Jul 2, 2014 at 09:00 am

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!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO.
Mathew Brack · Mar 26, 2015 at 06:07 pm · 2 comments

HTC M9 Roundup: Availability and Prices

The HTC One M9, Available in both 'Gold on Silver' and 'Metal Gray' colors will be available for sale in stores across the US on April 10th, however most carriers are starting preorders tomorrow on March 27th. No matter which network you order yours from you will be covered by HTC's new Uh-Oh service. Throughout the day today we have seen just as many announcements from carriers regarding pre-order information and prices for Samsung's new flagships the Galaxy S6 and S6 Edge. If...

XDA NEWS
Mario Tomás Serrafero · Mar 26, 2015 at 05:15 pm · 1 comment

OnePlus Late March AMAA Roundup

OnePlus is one of those companies that appear one day and next thing you know, they are all over the internet. Their original OnePlus One phone was a major success in the mobile space due to its low price yet remarkable specifications - the ultimate goal of the company and their “Never Settle” slogan. We love talking about “the little OEM that could”, not necessarily because they are good or bad, but because their business and marketing strategies are very...

XDA NEWS
Chris Gilliam · Mar 26, 2015 at 04:12 pm · 1 comment

Galaxy S6 Pricing & Availability Roundup

The Samsung Galaxy S6 and S6 Edge will be available for sale across the big four US carriers on April 10th, but most pre-orders start tomorrow, March 27th. Which network is the right choice for your new phone? That's a question whose answer received a new wrinkle today as announcements about pricing and bundled perks landed from all angles. Here's the rundown of Samsung offerings as we know them, but it's worth mentioning that HTC's newsroom was just as busy rattling off...

XDA NEWS
Share This