Officially sponsored by ScientiaMobile.

Version 7.x-3.x

The WURFL module helps you in detecting the device capabilities of the mobile device visiting your website. It is based on WURFL and the WURFL PHP APIs.

The module provides device capability detection as an API to developers.
The WURFL module can be used by calling the native interface:


  $requesting_device = wurfl_get_requestingDevice();
  $is_wireless_device = $requesting_device->getCapability("is_wireless_device");
  $is_full_desktop = $requesting_device->getCapability("is_full_desktop");
  $is_tablet = $requesting_device->getCapability("is_tablet");
  $is_smartphone = $requesting_device->getCapability("is_smartphone");
  $width = $requesting_device->getCapability('resolution_width');
  $height =  $requesting_device->getCapability('resolution_height');
  $browser = $requesting_device->getCapability('mobile_browser');

See the official documentation for a full list of available capabilities and APIs.

The module can be used to make adaptive themes, do advanced logging, etc ... Reports on experimentation are welcome!

Requirements

Version 6.x-1.x

Version 6.x also has support for the Mobile Tools module, so you can use the following function call:

mobile_tools_devicecapability($capability)

Project Information

Downloads