ctm wrote:
Can someone please indicate how we can get a device's capabilities on like a test page printed out using WURFL, to see what the device can do. (this is now after upgrading and installing the scientia plugin).
For example, what we are looking for is:
- the device's screen width
- does the device support ajax/javascript
- does the device have a qwerty keyboard
We want to use this to display different content to different phones.
Thanks
You can get mobile screen size using
$MobileJoomla_Device = MobileJoomla::getDevice();
$dev_width = $MobileJoomla_Device['screenwidth'];
$dev_height = $MobileJoomla_Device['screenheight'];