Page 1 of 1

Virtual Capabilities not defined

Posted: Fri Mar 23, 2012 1:19 pm
by elrichar
This page: http://www.scientiamobile.com/wurflCapability/Tree
has a section named 'virtual' with a list of capabilities.

If I try to use those (with the java api) I get a CapabilityNotDefinedException. Are these supposed to be supported?

Re: Virtual Capabilities not defined

Posted: Fri Mar 23, 2012 1:45 pm
by kamermans
Hi elrichar,

The virtual capabilities are only available for the WURFL Cloud service at this time, but they are essentially aliases for existing capabilities, ex: is_android == device_os contains "Android".

We will clarify this in the documentation.

Re: Virtual Capabilities not defined

Posted: Fri Mar 23, 2012 3:21 pm
by elrichar
Ok, thanks for the clarification. I'll continue to use string contains logic on the device_os field to categorize the devices.