I'm working with a test server that does not have the user agent variable set, so when testing sites here, I'm stuck with the properties of the 'generic' device, which are set to 90px screen width, xhtml_support_level of 1, etc. What would be the best long-term solution to changing these to properties that more accurately match our "generic" mobile device? I'm looking into creating a patch file that looks something like this:
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<wurfl_patch>
<devices>
<device user_agent="" fall_back="root" id="generic">
<group id="display">
<capability name="max_image_width" value="320"/>
<capability name="resolution_width" value="320"/>
</group>
</device>
</devices>
</wurfl_patch>