ios – Converting iPhone/iPad apps onto Android-ThrowExceptions

Exception or error: As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the …

HTML5 audio with PHP script does not work on iPad/Iphone-ThrowExceptions

Exception or error: Ok, I’m trying to play an HTML audio code on iPad but does not work. I created one PHP script to send to the MP3 request to the HTML5 audio code mp3_file_player.php?n=mp3file.mp3 The player is here: http://www.avault.com/news/podcast-news/john-romero-podcast-episode-80/ You will see that works on every HTML5 supported browser even on my iPod Touch. …

detect ipad/iphone webview via javascript-ThrowExceptions

Exception or error: Is there a way to differ via javascript if the website runs inside the ipad safari or inside an application WebView? How to solve: This uses a combination of window.navigator.userAgent and window.navigator.standalone. It can distinguish between all four states relating to an iOS web app: safari (browser), standalone (fullscreen), uiwebview, and not …

javascript scroll event for iPhone/iPad?-ThrowExceptions

Exception or error: I can’t seem to capture the scroll event on an iPad. None of these work, what I am doing wrong? window.onscroll=myFunction; document.onscroll=myFunction; window.attachEvent(“scroll”,myFunction,false); document.attachEvent(“scroll”,myFunction,false); They all work even on Safari 3 on Windows. Ironically, EVERY browser on the PC supports window.onload= if you don’t mind clobbering existing events. But no go on …