WURFL Cloud API call for User Agent
Posted: Wed Oct 23, 2013 2:54 pm
Hello,
I am getting device object from WURFL cloud by making following calls, passing in the request object. I do not want to pass the request object, but only the user agent from the request header to wurfl cloud to get the information about the device. I was looking around in Cloud API, but could not find any such call. What API call do I need to make for this?
CloudClientLoader loader = new CloudClientLoader(TEST_API_KEY,proxy);
manager = loader.getClientManager();
AbstractDevice device = manager.getDeviceFromRequest(req, resp);
Before switching to wurfl cloud, I was using following to get the device info from WURFL data file passing in UA.
WURFLHolder wurflHolder = new CustomWURFLHolder
WURFLManager wurfl = wurflHolder.getWURFLManager();
Device device = wurfl.getDeviceForRequest(uagent);
Thanks
I am getting device object from WURFL cloud by making following calls, passing in the request object. I do not want to pass the request object, but only the user agent from the request header to wurfl cloud to get the information about the device. I was looking around in Cloud API, but could not find any such call. What API call do I need to make for this?
CloudClientLoader loader = new CloudClientLoader(TEST_API_KEY,proxy);
manager = loader.getClientManager();
AbstractDevice device = manager.getDeviceFromRequest(req, resp);
Before switching to wurfl cloud, I was using following to get the device info from WURFL data file passing in UA.
WURFLHolder wurflHolder = new CustomWURFLHolder
WURFLManager wurfl = wurflHolder.getWURFLManager();
Device device = wurfl.getDeviceForRequest(uagent);
Thanks