I'm doing some tests and I only want to check on the resolution_width and resolution_height attributes.
In order to save memory (I suppose) how can I limit the load to only those 2 attributes ?
If have following code :
Code: Select all
GeneralWURFLEngine wurflHolder;
String mainPath = "C:\\Install\\jquerymobile\\wurfl-2.3.1.zip";
String patchesPath = "";
if (!StringUtils.isEmpty(patchesPath)) {
String[] patchesPathArray = StringUtils.split(patchesPath, " ,");
wurflHolder = new GeneralWURFLEngine(mainPath, patchesPathArray);
} else {
wurflHolder = new GeneralWURFLEngine(mainPath);
}
// force WURFL to initialize immediately
wurflHolder.getWURFLManager().getDeviceForRequest("");
Regards,