I got a report from a user saying that he received an error. the error was "android.view.MotionEvent.recycle".
with this info:
checked the forums and saw that the workaround was adding CallSubDelayed. But by looking at this error code I'm not too sure what part of my program code I need to fix. I have a bitmap two line listview on the main activity of my app and when they add a new item an "add new" activity is called and I close the main activity. once the user enters the info for the new item they hit a "save" button and the proper text files are updated and the main activity is restarted reading in all of the new data and the "add new" activity closes. Not sure if any part on doing all of that causing the issue. Any help on this would be appreciated.
with this info:
B4X:
java.lang.RuntimeException: MotionEvent { action=ACTION_UP, id[0]=0, x[0]=282.98486, y[0]=253.53613, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5730554, downTime=5730342, deviceId=2, source=0x1002 } recycled twice!
at android.view.MotionEvent.recycle(MotionEvent.java:1659)
at android.view.ViewRootImpl.finishMotionEvent(ViewRootImpl.java:3031)
at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3022)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2582)
at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:887)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2591)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4722)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
at dalvik.system.NativeStart.main(Native Method)
checked the forums and saw that the workaround was adding CallSubDelayed. But by looking at this error code I'm not too sure what part of my program code I need to fix. I have a bitmap two line listview on the main activity of my app and when they add a new item an "add new" activity is called and I close the main activity. once the user enters the info for the new item they hit a "save" button and the proper text files are updated and the main activity is restarted reading in all of the new data and the "add new" activity closes. Not sure if any part on doing all of that causing the issue. Any help on this would be appreciated.
Last edited: