I have discovered that if I wish to get the correct reading for WIDTH in my app then I have to insert "displayMode(FULLSCREEN)" in the "EDIT_THIS" tab before the xCodea server value is set. If you don't then WIDTH will report (to the sandbox) the narrower value that you get when the output/parameter panel is showing. By going full screen first then the sandbox is given the correct values.
I have discovered that if I wish to get the correct reading for WIDTH in my app then I have to insert "displayMode(FULLSCREEN)" in the "EDIT_THIS" tab before the xCodea server value is set. If you don't then WIDTH will report (to the sandbox) the narrower value that you get when the output/parameter panel is showing. By going full screen first then the sandbox is given the correct values.
displayMode(FULLSCREEN) xCodea_server ="http://..."