# System Flag for Mobile

**URL:** <https://forum.inductiveautomation.com/t/system-flag-for-mobile/23522>\
**Category:** Ignition\
**Created:** [March 21, 2019, 8:30pm UTC](https://forum.inductiveautomation.com/t/system-flag-for-mobile/23522 "2019-03-21T20:30:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonpdavid](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jasonpdavid](https://forum.inductiveautomation.com/u/jasonpdavid)\
**Post date:** [March 21, 2019, 8:30pm UTC](https://forum.inductiveautomation.com/t/system-flag-for-mobile/23522/1 "2019-03-21T20:30:26Z")

</div>

Howdy, I am trying to detect if a project is launched from a mobile device but the SystemFlags value that is returned doesn’t match the User Manual. I expected to see a value of 128 but a value of 140 is returned. I tested this on the iPhone and Galaxy with the same result.

[https://docs.inductiveautomation.com/display/DOC79/system.util.getSystemFlags](https://docs.inductiveautomation.com/display/DOC79/system.util.getSystemFlags)

Should I compare to 128 as well as 140?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 21, 2019, 8:42pm UTC](https://forum.inductiveautomation.com/t/system-flag-for-mobile/23522/2 "2019-03-21T20:42:08Z")

</div>

Each system flag is a bit, you want to check if `(flag & 128) == 128` or whatever.
