Skip to content
Advertisement

Tag: android

javascript canvas doesn’t draw images

I’m developing hybrid javascript app for android using cordova. In the following code I use two ways of drawing image on canvas: with setTimeout and without. Following code (wrapped with cordova) on android device doesn’t react on func1 but does react on func2. The second click on func1 finally draws image on a canvas. Which is completely strange. I assume

Advertisement