Hi,
We're using wurfl at ucl.ac.uk; we have a 'breakpoint' at 767px, and serve a different navigation / banner element to devices with resolution_width <767. However, we're seeing a couple of false-positives, e.g. using Chrome on 2012 Nexus 7 (Android 4.3) the smallscreen code is requested, even though resolution_width is >800 according to the following UA:
Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.64 Safari/537.36
Could you suggest what might be going on here?
Thanks
Kindle Fire HD 7" screen width
Re: Kindle Fire HD 7" screen width
Hi Dan,
What date of the WURFL.xml are you on? It is quite possible that the one you are on doesn't have the capability to resolve a Nexus 7 User Agent on Android 4.3.
BTW, was the title (Kindle Fire HD7) a typo?
Cheers!
What date of the WURFL.xml are you on? It is quite possible that the one you are on doesn't have the capability to resolve a Nexus 7 User Agent on Android 4.3.
BTW, was the title (Kindle Fire HD7) a typo?
Cheers!
Sriram Sridharan
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Kindle Fire HD 7" screen width
If the capability is 800 and you compare against 767, then 800>767. Maybe a runaway '!' or 'NOT' ? are you using ENV variables? script to share?danjackson wrote: using Chrome on 2012 Nexus 7 (Android 4.3) the smallscreen code is requested, even though resolution_width is >800 according to the following UA:
Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.64 Safari/537.36
Thanks
-
- Posts: 5
- Joined: Tue Aug 13, 2013 6:19 am
Re: Kindle Fire HD 7" screen width
Hi,
@sriram,
Yes, the title was a mistake - I started off thinking about the KIndle Fire HD, which is also looking wrong.
This is the version info from the XML file (we have the licensed InFuze Apache module):
db.scientiamobile.com - 2013-09-22 00:50:25
It contains a device entry for Nexus 7 on Android 4.3 (line 435396)
@sm_support2,
we're using fairly straightforward Apache SSI's at the moment, eg
<!--#if expr="${UCL_CONTENT_SIZE} != 'l'"-->
<!--#include file="includes/header-smallscreen-home.html" -->
<!--#else -->
<!--#include file="includes/header-desktop-home.html" -->
<!--#endif -->
...where 'l' equates to screen_width > 767px
Thanks
@sriram,
Yes, the title was a mistake - I started off thinking about the KIndle Fire HD, which is also looking wrong.
This is the version info from the XML file (we have the licensed InFuze Apache module):
db.scientiamobile.com - 2013-09-22 00:50:25
It contains a device entry for Nexus 7 on Android 4.3 (line 435396)
@sm_support2,
we're using fairly straightforward Apache SSI's at the moment, eg
<!--#if expr="${UCL_CONTENT_SIZE} != 'l'"-->
<!--#include file="includes/header-smallscreen-home.html" -->
<!--#else -->
<!--#include file="includes/header-desktop-home.html" -->
<!--#endif -->
...where 'l' equates to screen_width > 767px
Thanks
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Kindle Fire HD 7" screen width
Dan, I am a bit perplexed about this. I am not an expert in the Apache expression language, but there must be a way to express, greter, greater or equal and the like...danjackson wrote:
<!--#if expr="${UCL_CONTENT_SIZE} != 'l'"-->
<!--#include file="includes/header-smallscreen-home.html" -->
<!--#else -->
<!--#include file="includes/header-desktop-home.html" -->
<!--#endif -->
...where 'l' equates to screen_width > 767px
Thanks
Anyway, can you point us to the URL for your service? We will take a look later today. Can you tell us more about how the UCL_CONTENT_SIZE variable gets its value?
Who is online
Users browsing this forum: No registered users and 18 guests