How to query WURFL information -


What is the programming interface to query device capabilities in wurfl?

WURFL creator here ScientiaMobile recently launched a new way of providing WURFL for developers. I advise you

In short, if you import a small JS file:

   

You will be left with the JSON object that looks:

  {"full_device_name": "Google Nexus 7", "is_mobile": true, "Form_factor": "Tablet"}  

(Assuming that you are definitely using a Nexus 7) and you will be able to work like this:

  if (WURFL.form_factor == "tablet") {// dostf (); }  

This is what you are looking for.

Disclaimer: I work for a company that provides this free service. Thank you.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -