Playstation 3

Can you add this device?
amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Playstation 3

Postby amalakar » Thu May 21, 2015 12:36 pm

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

Elliotfehr

Re: Playstation 3

Postby Elliotfehr » Thu May 21, 2015 12:44 pm

Hello,

Are you able to provide me with the User Agent of the device?

Thank you,

Elliot

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Playstation 3

Postby amalakar » Thu May 21, 2015 1:10 pm

User agent is:
Mozilla/5.0 (PLAYSTATION 3; 3.55)

Elliotfehr

Re: Playstation 3

Postby Elliotfehr » Thu May 21, 2015 1:57 pm

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

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Playstation 3

Postby amalakar » Thu May 21, 2015 2:02 pm

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.

Elliotfehr

Re: Playstation 3

Postby Elliotfehr » Thu May 21, 2015 2:08 pm

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);

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Playstation 3

Postby amalakar » Thu May 21, 2015 2:10 pm

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.


Who is online

Users browsing this forum: No registered users and 0 guests