So I've seen this question asked before, but neither of those anwsers have helped me solve this problem yet.
I used the Code to draw through a webview "html5/javscript" combo.
While this works on the simulator (and a android phone, although I have to press really hard) it does not want to work on either a ipod/iphone/ipad (tested all 3 of them)
the code is here:
While this works on the simulator and on a android device (G1) it doesnt work on apple devices (ipod/iphone/ipad).
The init() function gets loaded cause the moment i put:
alert('it works'); in the init() function the alert box pops up on all devices (incl the ipod/iphone/ipad)
What is going on here how do I fix this?
As a bonus, whenever I get this working, I will upload the whole project of a working version on all devices for people to grab and analyse.
For the Reader Here.
Here is my final version of a preview app with painting, it uses an Jquery plugin made by someone else (credits are in the drawbox.js)
this app start with a white view, in landscape..
if you click on the drawer at the bottom a drawer opens and it shows 4 icons (home, music, replay/back, brushes).
when you click on the right most icon (brushes) the webview event gets fired and you can draw on the view, the drawer also changes to 24 colors (which can be clicked) and each color has 2 brush sizes.
so for the people that need this or are interessted here you go.
I just downloaded your project, very nice work!