Skip to main content
Inspiring
July 31, 2018
Question

Adobe Debug Launcher in AIR for iOS project launches window larger than desktop

  • July 31, 2018
  • 2 replies
  • 2299 views

This discussion is about the behaviour of ADL within Intellij IDEA.

I have already asked the question in the Intellij IDEA forum

https://intellij-support.jetbrains.com/hc/en-us/requests/1688027

but the opinion there is that this is an ADL issue not an IDE one, hence why I am here.

Basically when I run my AIR for iOS project within the IDE under emulation, ADL opens a huge window approximately twice the height of my monitor making it impossible to use the app (there are login input fields hidden "below the monitor"). I have set the window size within the IDE (Screen: 1242x2148 Full:1242x2208 ppi:401) which are supposed to be used by ADL but they seem to be ignored. I've tried adding specific options to ADL such as

-screensize 1242x2148:1242x2208

but that seems to clash with the IDE as I get an error message "-screensize already specified" and ADL does not launch.

Does anyone have an idea what is going on here with ADL?

TIA

This topic has been closed for replies.

2 replies

Amrita Gangwani
Adobe Employee
Adobe Employee
August 1, 2018

Hi,

Thank You for your query!

You may use the tags specified in Adobe AIR * Setting desktop application properties to limit the size of the initial window.

Suggested tags: height, width, maxSize, minSize.

Thanks!

Inspiring
August 1, 2018

Setting the values in the application descriptor file seems to make no difference. It's as though they are ignored.

Does it matter that this is an AIR for iOS project not an AIR for Desktop one?

-_Simon_-
Participating Frequently
July 31, 2018

What happens if you choose a preset device from the list?

Inspiring
August 1, 2018

If I choose a preset smaller than my monitor from the list, the window opens at the selected size as it should. However even the preset labeled "Apple iPhone Retina" is only 640 x 920 and which is not suitable for our required 1242 x 2208. The app is an in-house one so we can specify the minimum hardware/screen size that it will run on. Unfortunately there is no iPhone 6+, 7+, 8+ preset.

Update: I have just tried the preset "Apple iPad Retina" which is 1536 x 2008:1536x2048 and the window that is opened is again absolutely huge and approximately only half of the window fits on my monitor. I'm going to put a feature request to JetBrains for more presets.

-_Simon_-
Participating Frequently
August 1, 2018

>I have just tried the preset "Apple iPad Retina" which is 1536 x 2008:1536x2048 and the window that is opened is again absolutely huge

Unless you've specified landscape in the app descriptor It will open in portrait mode at 1536x2048 pixels - the emulator won't scale/shrink to fit your display if that's what you're expecting.