config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java
public boolean detectMobileLong()
   {
      if (detectMobileQuick()
               || detectGameConsole()
               || detectSonyMylo()) {
         return true;
      }

      // detect older phones from certain manufacturers and operators.
      if (userAgent.indexOf(uplink) != -1)
         return true;
      if (userAgent.indexOf(manuSonyEricsson) != -1)
         return true;
      if (userAgent.indexOf(manuericsson) != -1)
         return true;
      if (userAgent.indexOf(manuSamsung1) != -1)
         return true;

      if (userAgent.indexOf(svcDocomo) != -1)
         return true;
      if (userAgent.indexOf(svcKddi) != -1)
         return true;
      if (userAgent.indexOf(svcVodafone) != -1)
         return true;

      return false;
   }
public boolean detectMobileLong()
   {
      if (detectMobileQuick()
               || detectGameConsole()
               || detectSonyMylo()) {
         return true;
      }

      // detect older phones from certain manufacturers and operators.
      if (userAgent.indexOf(uplink) != -1)
         return true;
      if (userAgent.indexOf(manuSonyEricsson) != -1)
         return true;
      if (userAgent.indexOf(manuericsson) != -1)
         return true;
      if (userAgent.indexOf(manuSamsung1) != -1)
         return true;

      if (userAgent.indexOf(svcDocomo) != -1)
         return true;
      if (userAgent.indexOf(svcKddi) != -1)
         return true;
      if (userAgent.indexOf(svcVodafone) != -1)
         return true;

      return false;
   }
The longer and more thorough way to detect for a mobile device. Will probably detect most feature phones,
smartphone-class devices, Internet Tablets, Internet-enabled game consoles, etc. This ought to catch a lot of the
more obscure and older devices, also -- but no promises on thoroughness!

@return detection of any mobile device using the more thorough method