What steps will reproduce the problem?
1. Start Pedometer
What is the expected output? Start App
What do you see instead? Force Close
What version of the product are you using? 1.4.1
On what device and what operating system version? Genymotion Emulator
Following stack trace:
E/AndroidRuntime( 5268): FATAL EXCEPTION: main
E/AndroidRuntime( 5268): java.lang.ArithmeticException: divide by zero
E/AndroidRuntime( 5268): at
name.bagi.levente.pedometer.PaceNotifier.onStep(PaceNotifier.java:106)
E/AndroidRuntime( 5268): at
name.bagi.levente.pedometer.StepDetector.onSensorChanged(StepDetector.java:97)
E/AndroidRuntime( 5268): at
android.hardware.SystemSensorManager$ListenerDelegate$1.handleMessage(SystemSens
orManager.java:204)
E/AndroidRuntime( 5268): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5268): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5268): at
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 5268): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 5268): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5268): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 5268): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 5268): at dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by inkubo3@gmail.com on 3 Feb 2015 at 3:06
Original issue reported on code.google.com by
inkubo3@gmail.com
on 3 Feb 2015 at 3:06