Device detection is the process of deducing information, such as usable screen width and browser type, about a client device. For web services, device detection is typically performed by way of User-Agent string matching, as a way of tailoring content to different types of devices.
Questions tagged [device-detection]
111 questions
1
vote
0 answers
Xamarin UI Test - different element selectors for Phone / Tablet
I am looking at Xamarin UI test as a POC for a native Android and iOS app. Not used Xamarin before or C, so I am bluffing my way through at the moment. I have managed to get it running on the Android Phone version of the app, but how do I make it…

Scott
- 11
- 1
1
vote
1 answer
Does the "User Agent" header value ever change?
I am researching methods for detecting mobile devices. Let me preface this by stating that I already know about the WURFL file. One of the other options I am considering is maintaining a list of 'User Agent' header values in-house.
Has anyone seen…

Derek Hunziker
- 12,996
- 4
- 57
- 105
1
vote
2 answers
How do I use IViewLocationExtender with Razor Pages to render device specific pages
Currently we are building a web application, desktop first, that needs device specific Razor Pages for specific pages. Those pages are really different from their Desktop version and it makes no sense to use responsiveness here.
We have tried to…

alex.pino
- 225
- 2
- 9
1
vote
0 answers
How can I tell whether to show less GPU-intensive graphics on my page?
I have a webpage which has some visual effects on it that I think really enhance it. However, they are somewhat GPU intensive. For any desktop, they're child's play. However, on my laptop and phone, the devices heat up rather fast.
I don't want to…

Ky -
- 30,724
- 51
- 192
- 308
1
vote
1 answer
Redmi note 6 pro device not access in android studio for debuging
I am trying to debug application on Redmi note 6 pro but i can't debug on this device, i already follow all path and method for troubleshoot for deducting in android studio.Its orignal device and brought from orignal site of Mi.com.
kindly help me…

Anuj Vaish
- 285
- 1
- 5
- 19
1
vote
1 answer
how to get UAprof url for samsung mobile
when i connect to the servlet from my andoid mobile browser I need to get UAprof url for my samsung mobile in x-wap-profile headers but im not getting the header ...
but when i tried to connect the servlet from htc i could to get uaprof url in…

thinkrahul
- 11
- 1
- 2
1
vote
1 answer
Is there a quick way to determine if the iPhone model is newer than a certain model?
I am trying to apply the Haptic vibration effect. But it looks like that only iPhone 7 or later support this cool feature. I have already read this thread.
How to determine the current iPhone/device model?
Is there a function I can use to just…

William Tong
- 479
- 7
- 14
1
vote
4 answers
Mobile device identification from http headers
I have a large data-set containing HTTP Header information taken from network measurements. I need to use the UserAgent present in those headers to identify whether the useragent is for a Desktop or a Mobile Device or anything else. After doing that…

sfactor
- 12,592
- 32
- 102
- 152
1
vote
1 answer
What is more efficient using Request.Browser.IsMobileDevice each time needed or placing the information in a Session variable?
In order to make my web application responsive I am using Request.Browser.IsMobileDevice to detect if the request is coming from a mobile device and if so either making specific changes in the page so that it be suitable for mobile devices or…

Dov Miller
- 1,958
- 5
- 34
- 46
1
vote
0 answers
Is it possible to detect email clients using a server?
I am designing an html email newsletter. As you may know, this is a headache. We're currently going round and round with a few different email-client specific quirks like a game of whack-a-mole. You get something working in one client and it breaks…

jon
- 5,961
- 8
- 35
- 43
1
vote
0 answers
detect insertion of portable device in windows
i'm using a piece of c# code that detects connected devices and list them. the code is supposed to run on a kisok computer and help customers easily access and upload their files. the below code works fine except it does not recognize portable…

Salmonela
- 95
- 1
- 2
- 11
1
vote
1 answer
How do I set a mobile version of my site?
I understand that I need to use parameters of measure and other loading shortcuts to make the site load fast for mobile, it's not building the mobile site itself that troubles me.
I need to have a code that shows the browser where to redirect if a…

Jer
- 11
- 7
1
vote
2 answers
Detect device visiting web-page, ASP.net
Is there any good libraries/packages out there for detecting information about the device that visitis my page.
For instance if a user goes to my page I would like to detect the platform, the version of the platform, screensize, manufacture and…

Inx
- 2,364
- 7
- 38
- 55
0
votes
2 answers
COnverting web app to ipad app(device detection/event handling)
I need to convert a web app into ipad app. Stressing on style and events.
How to detect device?
How to identify touchevnts?
How to map click to touch,doubleclick to doubletap
How to capture orientation change?

user1071096
- 155
- 1
- 3
- 14
0
votes
2 answers
what is the most effective method of device detection?
One that I know of is User Agent detection to find out the device. It look like user agent could be change by the service providers for some reason. Are there any other robust methods of device detection or the mobile technology is yet to…

neelmeg
- 2,459
- 6
- 34
- 46