Hi!
How to Detect Mobile Device http://detectmobilebrowsers.mobi in PHP? You can check the mobile and android string. You should use a lightweight PHP class for detecting mobile devices.