AIR mobile debug in landscape mode
I would like to debug an IOS iPad app in landscape mode - but I cannot find the setting. I tried "Emulator Apple iPad" but that the size is fixed to 768x1024 (portrait). When I add adl options "-screensize 1024x768:1024x768", I get an error message:
[AIR Debug Launcher]: -screensize already specified
[AIR Debug Launcher]: usage:
adl ( -runtime <runtime-dir> )? ( -pubid <pubid> )? -nodebug? ( -profile PROFILE )? ( -extdir <extensions-dir> )? ( -screensize SCREEN_SIZE )? <app-desc> <root-dir>? ( -- ... )?
[AIR Debug Launcher]: adl -help
PROFILE : mobileDevice|extendedMobileDevice|desktop|extendedDesktop|tv|extendedTV
SCREEN_SIZE : ( <width>x<height>:<fullscreen width>x<fullscreen height> )|PREDEFINED_SCREEN_SIZE
PREDEFINED_SCREEN_SIZE : iPhone|iPhoneRetina|iPod|iPodRetina|iPad|Droid|NexusOne|SamsungGalaxyS|SamsungGalaxyTab|QVGA|WQVGA|FWQVGA|HVGA|WVGA|FWVGA|1080|720|480
Any hint?
Thanks and Regards,
Peter
Please sign in to leave a comment.
To set custom screen size please select 'Other...' in the Emulator combo box. Size fields will become editable.
Or you can use standard Apple iPad emulator and when it is launched - click Device on its main menu and select Rotate Left/Right.
Thanks - it works now. I can swear I tried before but the size fields were not editable - has this been fixed in 11.1.1 ?
Regards,
Peter
I don't believe you ;) This functionality always worked.
The way I fixed this was to stop using the 'Generated' Application descriptor and start using the Custom template one. In the file, it mentions
<aspectRatio>landscape</aspectRatio> in the description of initial window.
Finally, when debugging, select App descriptor (emulator): to be 'as set for iOS'
Now it's always landscape, no need for custom other resolution.