Results 1 to 2 of 2
  1.    #1  
    I need a way to differentiate between the Pre and the Pixi inside my program.

    See, I have some HTML elements that can't be dynamically sized so I need a way to know which phone is running my program so that I can change the size of these elements accordingly.

    Does anybody know how to do this?
    hit up that thanks button
  2. #2  
    Quote Originally Posted by tjmarkham3 View Post
    I need a way to differentiate between the Pre and the Pixi inside my program.

    See, I have some HTML elements that can't be dynamically sized so I need a way to know which phone is running my program so that I can change the size of these elements accordingly.

    Does anybody know how to do this?
    just check the screen size...

    Code:
    var ScreenMode = Mojo.Environment.DeviceInfo.screenHeight;
    then just test by referring to ScreenMode==400 for pixi or 480 for pre
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix

Posting Permissions