shoren
shoren

Reputation: 941

how to use html5 canvas drag on android?

I want to use a WebView with a canvas, and to be able to use touch to drag items in the canvas. The canvas is displayed just fine, and clicking works, but moving only scrolls. I've disabled scrolling, but it still doesn't work. Any ideas?

Upvotes: 2

Views: 1805

Answers (1)

shoren
shoren

Reputation: 941

I found working html here http://developer.appcelerator.com/question/55121/html5-canvas-drawing-in-webview It appears that I need to learn more about the difference between touch events and mouse events.

Upvotes: 1

Related Questions