You could look how it's done in one of the starter solutions. They are using Get(Device) on choosing a layout by device. On "Get(Device) = 5" (5 is android), additional If statement for guessing if it's tablet or phone If[Get ( WindowWidth ) + Get ( WindowHeight ) > 1042] => tablet, otherwise phone. Get(Device) tells if it's iPad or iPhone.
the new Phone from Sony Xperia XZ premium have 3840 X 2160,
you have no control about dpi or display-size with all FM-get-funcions.
You are using Web Direct, so probably not so helpful:
There are methods to get the user agent (and other Environmental Variables) from the browsers/user in web servers. It's part of what Google tracks, for example.
You likely need a method to have the user go to a web page that can grab that data and pass along to the link to Web Direct. Then and only then can your "opening script" (I assume) would be able to "branch" based on the detection.
Other answers also helpful!
1 of 1 people found this helpful
Mobile browsers don't use absolute resolution of the screen. They have so called css-width which is used for showing content. Images etc will show more detailed pixels like Retina screens in macs. https://mydevice.io/devices/