@Override public void onCreate() {
    super.onCreate();
    LynxShakeDetector lynxShakeDetector = new LynxShakeDetector(this);
    LynxConfig lynxConfig = new LynxConfig();
    lynxConfig.setMaxNumberOfTracesToShow(4000).setFilter("LynxFilter");
    lynxShakeDetector.init(lynxConfig);
  }
Application extension created to show how to initialize LynxShakeDetector to start LynxActivity
on when the user shakes the device.

@author Pedro Vicente Gomez Sanchez.
sample/src/main/java/com/github/pedrovgs/sample/LynxApplication.java