# Getting mobile screen size data

**URL:** <https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339>\
**Category:** Ignition\
**Created:** [September 27, 2013, 7:56pm UTC](https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339 "2013-09-27T19:56:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwillenbring](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mwillenbring](https://forum.inductiveautomation.com/u/mwillenbring)\
**Post date:** [September 27, 2013, 7:56pm UTC](https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339/1 "2013-09-27T19:56:32Z")

</div>

Is there a way to get the screen size data for mobile clients? i ran into the post [here](http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=8075&p=25551&hilit=open+mobile+project#p25551) 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!

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [October 7, 2013, 4:08pm UTC](https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339/2 "2013-10-07T16:08:33Z")

</div>

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

> [@](#):
>
> There's no way from within the client to get the mobile device's screen. Remember that the client is actually running on the server, so any code you execute like the code you posted gets run on the server, so it won't be helpful to get the ipad's resolution.

---

<div class="post-metadata">

**Author:** ![Andrew.Wells](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.wells/32/6269_2.png) [@Andrew.Wells](https://forum.inductiveautomation.com/u/Andrew.Wells)\
**Post date:** [February 27, 2019, 6:24pm UTC](https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339/3 "2019-02-27T18:24:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 27, 2019, 6:39pm UTC](https://forum.inductiveautomation.com/t/getting-mobile-screen-size-data/7339/4 "2019-02-27T18:39:35Z")

</div>

> [@Andrew.Wells](#):
>
> 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()`](https://docs.inductiveautomation.com/display/DOC79/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.
