Hi!
I made small project. Just touch screen and move finger and app draw 2 lines as finger move. From several time these lines remove from screen. Project is attached.
At Windows Gideros Player and at old Samsung Android 2.2 device all work good.
But at LG P500 Android 2.3.3 app crash and close on first move. If I commented out "--self.line2:endPath()", app draw only 1 line, work good and not crash.
To draw lines I use one Sprite where I use 2 Shapes (line1 and line2).
Logcat is also attached.
May anybody help??
Comments
I found the problem. It was division by zero in my code. I thought that Event.MOUSE_MOVE return coordinates only then mouse move and got it.
Shape:lineTo(-1.#IND, -1.#IND)
Shape:endPath() --here got crash in 2.3.3 device, but it work good in 2.2 device and Gideros Windows Player.
But it's interesting why the same project with same bug work different at different devices.
Likes: fxone