Page 1 of 1

What checks are included with "is_smartphone"

Posted: Thu Aug 30, 2012 4:17 pm
by Ekariallp
Just curious on what goes into the "is_smartphone" virtual capability? Anywhere I can find details?

Re: What checks are included with "is_smartphone"

Posted: Thu Aug 30, 2012 5:03 pm
by sm_support2
Ekariallp wrote:Just curious on what goes into the "is_smartphone" virtual capability? Anywhere I can find details?
it is a totally arbitrary definition of SmartPhone that may change in the future without notice to follow the evolution of the browser and device market. Think of it like a vienna sausage (hot dog). It is easily available and many like it, but only as long as nobody tells them what the ingredients are.

In fact, I am tempted to argue that if you are wondering about what we put inside that capability, you may want to cook your own definition of smartphone with the other fresh unprocessed capabilities. This will give you more control on your WURFL intake and may result in healthier mobile lifestyle for your application.

Do you still want to know what you can find inside?

Re: What checks are included with "is_smartphone"

Posted: Thu Aug 30, 2012 5:14 pm
by Ekariallp
Sure, give me a peak inside your processed meat byproducts :D

I'm looking for something pretty vague anyways...

Re: What checks are included with "is_smartphone"

Posted: Fri Aug 31, 2012 8:02 am
by sm_support2
Ekariallp wrote:Sure, give me a peak inside your processed meat byproducts :D

I'm looking for something pretty vague anyways...
Must be a mobile device
Cannot be a tablet
Must have touch screen
minimum 320 pixel wide screen
One of the major mobile OS (includes Symbian, MeeGo, Bada and weOS among others)
Minimal OS version for the respective OSes

Again: this definition of smartphone is bound to change *at ScientiaMobile's discretion* and *without* notice.

Thanks

Re: What checks are included with "is_smartphone"

Posted: Thu Sep 06, 2012 12:56 pm
by Ekariallp
No, that's actually perfect for my needs, thanks!

One thing, however: I'm getting is_smartphone = true for an iPad useragent.

Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

Maybe the version is too low?

Re: What checks are included with "is_smartphone"

Posted: Thu Sep 06, 2012 2:29 pm
by sm_support2
Good catch. The fix will be deployed soon, possibly already by the time you read this

Thanks

Re: What checks are included with "is_smartphone"

Posted: Thu Sep 06, 2012 3:03 pm
by Ekariallp
Looks good... Thanks for the fast turnaround!

Re: What checks are included with "is_smartphone"

Posted: Mon Oct 07, 2013 6:09 pm
by sm_support2
Important Update: the definition of is_smartphone has changed in API 1.5 to support the notion that Smartphones will now handle Responsive Web Design sites properly enough.