Hi!
I started the MobileESP project as a free, lightweight, open source alternative for detecting mobile device visitors to web sites. The MobileESP code is available for PHP, Java, .NET and JavaScript and has a rich API. Most of the methods return simple true/false values for whether the visitor is a mobile device in general, the platform (e.g., iPhone, Android, Windows Phone 7, games), and tiers of devices (esp. iPhone Tier vs. everything else). Note that the iPhone Tier includes touchscreen devices with modern browsers, including iPhone, iPod Touch, Android, WebOS, Windows Phone 7, BlackBerry 6, etc.
You might consider adding support for MobileESP as one of the available alternatives for detecting mobile devices.
For more information on the MobileESP project, please visit the web site:
www.mobileesp.org
Thanks!
Anthony