2 Replies Latest reply on Jun 10, 2011 2:14 PM by SashaKeith

    How to detect the operating system at runtime?

    ChristophFlex

      I have a libary which i use for a mobile (android) and desktop-air projekt. I want to code somthing like this (pseudoCode):

       

      if( operating system == mobile/android )  
              this.addFieldUIs(myPopUpList);

      else if(operating system == desktop )

             this.addFieldUIs(myDropDownList); 

       

      Is it possible to archive this?