1
your app crashes here mListener = (SensorRateChangeListener) activity; because it's expecting your Main Activity to be like this: public class MainAcivity extends Activity implements SensorRateChangeListener{ since you implemented the SensorRateChangeListener interface in another fragment,...