Detect DPI/retina

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
frodehansen
Posts: 2
Joined: Mon Dec 10, 2012 3:50 am

Detect DPI/retina

Postby frodehansen » Mon Dec 10, 2012 3:51 am

Is there a way to detect if the device has as Retina display through WURFL?

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Detect DPI/retina

Postby sriram » Mon Dec 10, 2012 9:45 am

Hi frodehansen,

For non-iOS devices, WURFL will provide both physical screen sizes and screen resolutions, where available, to help you determine the pixel density of the display. The relevant capabilities are:
physical_screen_width
physical_screen_height
resolution_width
resolution_height


For iOS, this becomes a bit more complicated since Apple has chosen to hide the underlying device's hardware information from the User-Agent. This means that we do not know if the iPhone running iOS6 is an iPhone 3GS or 4 or 4S or 5. So we err on the side of caution and provide capability values that represents the lowest specification among iPhones that run that version of the iOS. We are currently working on a solution for this issue and we may have a partial solution soon.

Cheers!
Sriram Sridharan

frodehansen
Posts: 2
Joined: Mon Dec 10, 2012 3:50 am

Re: Detect DPI/retina

Postby frodehansen » Tue Dec 11, 2012 4:48 am

Thanks for your answer.

I hope you find a ok solution for the iOS issue.

elrichar
Posts: 27
Joined: Fri Mar 23, 2012 1:15 pm

Re: Detect DPI/retina

Postby elrichar » Tue Jan 15, 2013 4:06 pm

Do you guys have any further updates on this topic? My Product folks are asking generally the same question here about how we can have the WURFL data accurately reflect the iPhone5 users. Any updates or ideas would be appreciated. Thanks.

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Re: Detect DPI/retina

Postby sm_support2 » Tue Jan 15, 2013 4:41 pm

Hi Eliotte, would you like us to contact you and discuss offline?

elrichar
Posts: 27
Joined: Fri Mar 23, 2012 1:15 pm

Re: Detect DPI/retina

Postby elrichar » Tue Jan 15, 2013 4:54 pm

Sure - you guys should have my email address, let me know if not. How about you email me the contact information of who I should call (I'll probably call tomorrow, but possibly still today).

murela
Posts: 1
Joined: Wed Feb 20, 2013 9:25 am

Re: Detect DPI/retina

Postby murela » Wed Feb 20, 2013 9:26 am

Hi,

Did you find a proper solution to detecting retina/ high display ratio devices?

anders

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Detect DPI/retina

Postby kamermans » Sat Feb 23, 2013 4:48 pm

Hi Anders,

Unfortunately, there is not a reliable way to detect Retina devices at this time. Note that for other, non-Apple devices, you can always look at the resolution_width / physical_screen_width (in millimeters).
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

robertmujica
Posts: 5
Joined: Tue Jan 07, 2014 12:12 pm

Re: Detect DPI/retina

Postby robertmujica » Thu Jan 23, 2014 10:41 am

Hi,

I have been testing WURFL database with the following IPad user agents

IPAD_RETINA = "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25";
IPAD_1 = "Mozilla/5.0 (iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10";
IPAD_3 = "Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; es-es) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B360 Safari/531.21.10";
private const string IPAD_MIN = "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A406 Safari/8536.25";

But it always return the same value for all them:
physical_screen_width = 148
resolution_width = 768

So i think this is wrong, also I'm trying to get those values in order to figure out if a Device is retina enabled or not, if there is a better way to do this please can you give me details.

Thanks
Robert

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Detect DPI/retina

Postby kamermans » Fri Jan 31, 2014 10:16 am

Please see the post directly above this one:
Unfortunately, there is not a reliable way to detect Retina devices at this time.
Furthermore, it is likely that there will never be a way to differentiate the hardware version of Apple devices using only the User-Agent string since Apple has gone to extreme lengths to hide this information.
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!


Who is online

Users browsing this forum: No registered users and 17 guests