Page 1 of 1
Playstation 3
Posted: Thu May 21, 2015 12:36 pm
by amalakar
Wurfl 1.6.0.0 is unable to parse playstation 3. It was being parsed correctly while using version 1.5.0
The brand name was detected as sony and the modelname as "Playstation 3". This is not the case any more. I am using 1.6.0.0 java API and 2015-05-17_wurfl.zip
Re: Playstation 3
Posted: Thu May 21, 2015 12:44 pm
by Elliotfehr
Hello,
Are you able to provide me with the User Agent of the device?
Thank you,
Elliot
Re: Playstation 3
Posted: Thu May 21, 2015 1:10 pm
by amalakar
User agent is:
Mozilla/5.0 (PLAYSTATION 3; 3.55)
Re: Playstation 3
Posted: Thu May 21, 2015 1:57 pm
by Elliotfehr
Are you able to let me know if you are running the API in high performance or accuracy mode? I have just tested this User Agent against version 1.6 and can confirm that it is being properly detected in high accuracy mode.
Thank you,
Elliot
Re: Playstation 3
Posted: Thu May 21, 2015 2:02 pm
by amalakar
I was not aware of these modes. How do I specify accuracy mode using the JAVA api? I would like to run in high accuracy mode.
Re: Playstation 3
Posted: Thu May 21, 2015 2:08 pm
by Elliotfehr
Code: Select all
WURFLResource root = new XMLResource("wurfl.zip");
GeneralWURFLEngine wurfl_eng = new GeneralWURFLEngine(root);
wurfl_eng.setEngineTarget(EngineTarget.accuracy);
Device device = wurfl_eng.getDeviceForRequest("Mozilla/5.0 (PLAYSTATION 3; 3.55)");
String modelName = device.getCapability("model_name");
System.out.println(modelName);
Re: Playstation 3
Posted: Thu May 21, 2015 2:10 pm
by amalakar
Thank you so much, I did found to set the mode as well. And you are right it is parsing it correctly in the accuracy mode.