Questions tagged [device-detection]

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.

111 questions
0
votes
1 answer

Application Using WPF and MFC both

Sorry for a very vague question but today i was using a software "Samsung Kies" which is developend in WPF but while i ran it as Admin and i saw an MFC Logo.. and i wondered how did they connect Native C++ MFC with Managed WPF... I have never…
Ankesh
  • 4,847
  • 4
  • 38
  • 76
0
votes
0 answers

Determining the presence of a notch on a device in Flutter

I'm developing a Flutter application and I need to detect whether the device running the app has a notch or not. Is there a reliable way to determine the presence of a notch programmatically in Flutter? I have already explored the Flutter's…
Ali Awan
  • 1
  • 1
0
votes
0 answers

Detect if device is connected to a rs232 serial port

i got this project a lil one i would like to use in my job, it would make thinks easier when i'm detecting if a printer is connected, what's the point of this? We have like 26 printers to print purchase ticket from clients sales, the point is that…
0
votes
0 answers

How work Wangkanai Browser detection on Blazor Server

I'm trying to get the browser information from the user in a Blazor Server application. For this I use the Nuget Package Wangkanai.Detection 6.10. Apparently Blazor support has been added, but the user-agent-string is always used from the server and…
0
votes
2 answers

Migrating xsl code to asp.net / c#

I have been asked to migrate some code to our new asp.net web app. but I am extremely unfamiliar with asp.net. The following block of code detects the user device and changes the url accordingly. I need to make the same logic using asp.net / c# but…
JFFF
  • 991
  • 4
  • 17
  • 31
0
votes
1 answer

Not able to identify iPad Pro devices by using Javscript

I am trying to identify iPad devices by using various methods in JS. As per the latest research on this, newer versions of iPad Pro behaving same as desktop versions(Same user agent). Since both iPad and Mac shows same user agent details, it's very…
Sibin Joy
  • 1
  • 2
0
votes
1 answer

what happens if I create a file using vim in /dev directory. How the file will be created as the /dev is not standard file system

What happens if I create a file using vim in the /dev directory. How will the file be created as the /dev is not a standard file system. I can see a file being created but standard Kernel file operation create was not called. Now I am not sure how…
0
votes
1 answer

How to use the Agent Library at Laravel?

what's up? I'm the last two days trying to use a library of DeviceIndentify, Agent. This is a library based on Mobile Detect, but for LARAVEL. I already read the README.md and searched about how to use the library correctly, but I don't get it. I…
0
votes
1 answer

Device Detection With PHP

I am working in PHP, specifically Laravel. I want to show different views according to how big the user's screen is (ex: mobile or pc). In simple words, here is what I want my routing to look like: if (device == mobile){ Route::view('/',…
padawanTony
  • 1,348
  • 2
  • 22
  • 41
0
votes
1 answer

How to invalidate html cache of sitecore in responsive website?

We have a sitecore based responsive website, which has different content for mobile device in some pages unlike desktop. We are identifying the device type by using Http Request user Agent and have different business logic based on it. When we have…
0
votes
1 answer

Fatal error: Uncaught Error: Class 'Spyc' not found in app/code/DeviceDetector/Yaml/Spyc.php

I am facing the issue with order placing on Magento ver. 2.2.2. After complete the payment when I will redirect to website https://domainname/paypal/express/placeOrder/ page and error display on that page. Please check the error below, Fatal…
Narayan
  • 1,670
  • 1
  • 19
  • 37
0
votes
1 answer

Is it not good to detect devices, operating systems and browsers Versions by User-agents?

Is it not good to detect devices, operating systems and browsers Versions by User-agents? Can it create any problem in caching like if we set expire headers and use wordpress W3 Total cache plugin
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
0
votes
1 answer

How to determine on which iPhone my App is running?

I looked around to find, how I can know on which iPhone my App is running (iPhone 3G, iPhone3GS, iPhone 4) to do additional things depending on the exactly device. The preferred method was mostly something like this: size_t…
Constantin
  • 8,721
  • 13
  • 75
  • 126
0
votes
0 answers

locate template inside folder with an eventListener

For info, the project i'm currently working on is on Symfony 2.3 I have an event listener called DeviceListener checking my user device. (it uses the MobileDetect class) I must point to a folder where there is templates affiliated with that device…
chicken burger
  • 774
  • 2
  • 12
  • 32
0
votes
1 answer

react-native-device-detection not working with Nexus 7

I had created an imageGallery application built over React-Native. The basic requirement is Mobile View shows 3 images per row. Tablet View shows 5 images per row. Device detection is done using react-native-device-detection The number of images…
Geethu Jose
  • 1,953
  • 2
  • 14
  • 30