Is there a solid way to detect whether or not a user is using a mobile device in jQuery? Something similar to the CSS @media attribute? I would like to run a different script if the browser is on a ha...
I have been doing some research on media queries and I still don't quite understand how to target devices of certain sizes. I want to be able to target desktop, tablet and mobile. I know that there ...
What is the simplest way to tell if a user is using a mobile device to browse my site using PHP? I have come across many classes that you can use but I was hoping for a simple if condition! Is ther...
According to: http://developer.android.com/sdk/android-2.0-highlights.html Android 2.0 should support the HTML5 video element. I haven't been able to get this to work using a Motorola Droid, and hav...
I have been struggling with fixed positioning in iPad for a while. I know iScroll and it does not always seem to work (even in their demo). I also know that Sencha has a fix for that, but I couldn't C...
Detect viewport orientation, if orientation is Portrait display alert message advising user of instructions
I am building a website specifically for mobile devices. There is one page in particular which is best viewed in landscape mode. Is there a way to detect if the user visiting that page is viewing it...
As of jQuery 1.8, the use of async:false in jQuery.ajax() is deprecated. But how many webpages have you seen with a "loading screen" while there is an ongoing AJAX communication in the background? I h...
I am creating a mobile web page that is basically a big form with several text inputs. However (at least on my Android cellphone), every time I click on some input the whole page zooms there, obscuri...
I have been working on an Android app using Phonegap and now would like to make it so when the app is closed it can still execute the java/js code in the app. So I understand I need to create a servic...
Have any well-documented or open source projects targeted iPhone, Blackberry, and Android ? Are there other platforms which are better-suited to such an endeavor ? Note that I am particularly asking ...