• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Exiting instead of pausing on iOS

Guest
May 06, 2011 May 06, 2011

Copy link to clipboard

Copied

AIR 2.6, tested on iPod 3rd gen, OS version 4.3.2.

I followed the steps from: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc 9cd0cb-7ffe.html#WS901d38e593cd1bac1dc3127e12e25ae562d-8000

My application descriptor file has the following lines in iPhone section:

  <iPhone>

    <InfoAdditions>

      <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]] >

  <![CDATA[<key>UIApplicationExitsOnSuspend</key><string>YES</string>]] >

    </InfoAdditions>

  </iPhone>

but it still only pauses my app.

Am I missing anything? Any help much appreciated.

TOPICS
Development

Views

997

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , May 07, 2011 May 07, 2011

I think that the <string>YES</string> was changed for boolean keys so instead you'd just use <true/> or <false/>.

Votes

Translate

Translate
LEGEND ,
May 06, 2011 May 06, 2011

Copy link to clipboard

Copied

Having two CDATA tags seems wrong. If you make it this:

<iPhone>

    <InfoAdditions>

      <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array><key>UIApplicationExitsOnSuspend</key><string>YES</string>]] >

    </InfoAdditions>

  </iPhone>

Does it do any better?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 07, 2011 May 07, 2011

Copy link to clipboard

Copied

Even if both keys are in one CDATA it still does't quit but pauses... I tried to put <string>YES</string> in <array> like preceding element but then adt reported error. When the same app was published with iPhone Packager it was quitting not pausing by default.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 07, 2011 May 07, 2011

Copy link to clipboard

Copied

I think that the <string>YES</string> was changed for boolean keys so instead you'd just use <true/> or <false/>.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 08, 2011 May 08, 2011

Copy link to clipboard

Copied

LATEST

Thanks Mistersuits, that works!

Would be great if Adobe could update the documentation.

So here is how my settings look like now:

  <iPhone>

    <InfoAdditions>

      <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array><key>UIApplicationExitsOnSuspend</key><true/> ]]>

    </InfoAdditions>

  </iPhone>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines