@Override
  public void onCreate(Activity activity, HromatkaServiceApi hromatkaServiceApi) {
    HromatkaLog.getInstance().enter(TAG);
    wPitchText = (TextView) activity.findViewById(R.id.wPitchText);
    wRollText = (TextView) activity.findViewById(R.id.wRollText);

    wPitchCompass = (ImageView) activity.findViewById(R.id.wPitchCompass);
    wRollCompass = (ImageView) activity.findViewById(R.id.wRollCompass);

    hromatkaServiceApi.registerInclinometerListener(inclinometerListener);
    HromatkaLog.getInstance().exit(TAG);
  }
 @Override
 public void onDestroy(Activity activity, HromatkaServiceApi hromatkaServiceApi) {
   HromatkaLog.getInstance().enter(TAG);
   hromatkaServiceApi.unregisterInclinometerListener(inclinometerListener);
   HromatkaLog.getInstance().exit(TAG);
 }