February 23, 2017 01:12 IST
Updated:
February 23, 2017 01:13 IST
“;
var device = “”;
for ( var type in WFClientTypeDef) {
if (window.matchMedia(WFClientTypeDef[type]).matches) {
switch (type) {
case “xlarge”:
device = ‘desktop’;
break;
case “large”:
device = ‘desktop’;
break;
case “medium”:
device = ‘tab’;
break;
case “small”:
device = ‘mobile’;
break;
}
break;
}
}
var writeOnDocument = true;
var skipOnDeviceValue = “[medium, small]”;
var noSkipOnDevice = skipOnDeviceValue.length > 0;
if(noSkipOnDevice) {
if (skipOnDeviceValue.indexOf(“large”) > -1 && ‘desktop’ == device) {
writeOnDocument = false;
}
if (skipOnDeviceValue.indexOf(“medium”) > -1 && ‘tab’ == device) {
writeOnDocument = false;
}
if (skipOnDeviceValue.indexOf(“small”) > -1 && ‘mobile’ == device) {
writeOnDocument = false;
}
}
if(writeOnDocument) {
d.write(adcode);
}
}(document);
Google’s strategy to keep the Android platform open Source has helped the Operating System dominate the smartphone OS Capital market. The following graphic shows the market share % of various OS used in smartphones world wide.
Source: Gartner (February 2017)