Another new feature in version 1.6.0 of DotKernel is the integration of Wurfl Cloud.
Wurfl or Wireless Universal Resource FiLe is coming with a new way to deliver their services of device detection and they named it Wurfl Cloud.
Because of the need to detect mobile devices in DotKernel we have integrated Wurfl Cloud as the default detection method.
If you want to see the Wurfl Cloud library you can find it in the library folder of DotKernel.
Quick steps to have a functional device detection in DotKernel.
- register for an Wurfl Cloud account here
- choose device_os and mobile_browser as your capabilities
- copy your API Key in application.ini in DotKernel
resources.useragent.wurflcloud.api_key = 000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Now you can test it by changing the user agent in your browser to a mobile device and access your project. Now you can see that you are redirected to the mobile module.
To see how mobile detection is working in DotKernel read this post.