Loading ...
Sorry, an error occurred while loading the content.

34598Wurfl 1.5 and Desktop Browser

Expand Messages
  • cristian.porta@ymail.com
    Oct 23, 2013
    • 0 Attachment
      Hi guys, trying the new api(1.5.0.1) I'm not more able to detect the Desktop Borwser device.

      Ex UA:
      Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1

      Return this infos:
      - id:generic_web_browser
      - brand_name:generic web browser
      - model_name:
      - is_wireless_device:false
      - is_mobile:false
      - is_smartphone:false
      - is_tablet:false
      - is_smarttv:false
      - is_console:false
      - is_android:false
      - is_ios:false
      - is_windows_phone:false
      - is_app:false
      - os:
      - os_version:
      - mobile_browser:
      - mobile_browser_version:

      What I'm wrong?

      This is a sample of my code:

      GeneralWURFLEngine engine = new GeneralWURFLEngine("/path/to/wurfl.xml");
      Devide device = engine.getDeviceForRequest(useragent);

      String model = device.getCapability("model_name");
      String family = device.getCapability("brand_name");
      device.getCapability("is_wireless_device")

      etc...
    • Show all 5 messages in this topic