Getting mobile screen size data

Is there a way to get the screen size data for mobile clients? i ran into the post here about how to determine if its a mobile client. This works great, but I want to know the general screen size of the client also. If users are running the project from an I-Phone, I want to present them a different set of screens than if the users are running it from an I-Pad.

If anyone has some insight on this, I would greatly appreciate it! Thanks!

This is a quote from one of our developers, Carl Gould

I realize this is an older post, but I was hoping that there has been some change since the previous discussion. While I realize that the projects are coded with a “Minimum Screen Size”, it would be helpful to know the client screen size in order to modify certain objects. In my case, I would like to modify the initial zoom of my report viewer so I can present a full screen view as opposed to a tiny report in a large space, or cut off report in a small space.

Is this still impossible. I am not referring to a mobile screen for my application, but the theory would still apply.

If you're not running within the mobile module, then yes, this is possible - just use system.gui.getScreens() to get information about what your client is running on.
If you are running within the mobile module, then this thread is still correct.

2 Likes