App Programming‎ > ‎

Getting Started - Mobile

Mobile Guide to Screen Sizes

Sizing Your Stack (Setting the Correct Screen Sizes)
What size should you make the LiveCode card for cell phones and tablets?

Options:
    -  Look it up on the Internet - e.g. Wikipedia - List of Displays by Pixel DensityList of Screen Sizes

Add the following to your Stack script to size the screen to the device

        on preOpenStack
               set the fullscreenmode of this stack to "exactFit"
        end preOpenStack


Simple Start - 
If you want to start out easy, go back to the Area (Rectangle) program or the number guessing game that we did and convert that to a mobile platform
    1. Size it to the proper screen size
    2. Remove any pop-up dialog boxes 
    3. Test it
    4. Deploy it to your own phone

Comments