I've written an application which has multiple activities with multiple buttons. A colleague of mine wrote a service which detects gestures, based on the gyroscope sensor (move up, down, rotation...). We want to join the application and the service so we would be able to control the app using gestures from the service.
Since we both don't have so much experience with Android, we'd like to ask, how this is usually achieved?