Implement a standalone gesture detective system for android applications