1 decade ago by Husten
often i need to know if there is a big screen or a small one, so the question is "tablet or mobile phone?".
for ios with can do this with ig.ua.iPhone and ig.ua.iPad, but this feature is missing for android.
i wasted a lot of time in this, the only way to check for a tablet with android is the useragent. since android 3.x ONLY mobile phones have the string "mobile" in their useragent.android 2.3 and older where only developed for phones, so there you can find always "mobile". the last android tablet with 2.3 was the first galaxy tab 2 years ago.
so you can be around 99% percent sure, if you find "android" and NOT "mobile" in the useragent, its a tablet.
dominic plz add ig.ua.tablet :)
for ios with can do this with ig.ua.iPhone and ig.ua.iPad, but this feature is missing for android.
i wasted a lot of time in this, the only way to check for a tablet with android is the useragent. since android 3.x ONLY mobile phones have the string "mobile" in their useragent.android 2.3 and older where only developed for phones, so there you can find always "mobile". the last android tablet with 2.3 was the first galaxy tab 2 years ago.
so you can be around 99% percent sure, if you find "android" and NOT "mobile" in the useragent, its a tablet.
dominic plz add ig.ua.tablet :)