[Yanel-dev] Detecting mobile devices

Michael Wechner michael.wechner at wyona.com
Wed Jul 6 23:44:57 CEST 2011


Hi

I have started a prototype implementation in order to detect mobile 
devices (see YanelServlet)
and because of performance/scalability I have made this configurable 
inside web.xml:

<!-- Detect mobile devices for every request -->
<init-param>
<param-name>detect-mobile-per-request</param-name>
<param-value>false</param-value> <!--The default value needs to be false 
because of performance/scalability reasons -->
<!--<param-value>true</param-value>-->
</init-param>

At the moment it is only checking for iPhone user agents in particular, 
but the goal is to use WURFL (http://wurfl.sourceforge.net/njava/)

Thanks

Michael


More information about the Yanel-development mailing list