从iOS的邮件附件中打开flex应用程序

问题描述:

我读过这个post这真的很有帮助。不过,我试图在flex应用程序中打开附件。可能吗?有关于此的任何经验?从iOS的邮件附件中打开flex应用程序

谢谢,但我发现我一直在寻找在这里:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html#WS901d38e593cd1bac6c9d409a12e26b451be-8000

我必须准备适当的文件描述符。工作正常。

我不认为你可以从电子邮件附件安装应用程序,并且Flash没有安装在iPhone上。所以基本上,不,您无法从电子邮件附件中打开Flex应用程序。

+0

谢谢answear。我的意思是打开使用Flex框架制作的iOS应用程序。 – pikar 2011-04-24 18:50:03

+0

啊,现在我明白了。您应该查看[此链接](http://iphonedevelopertips.com/cocoa/launching-other-apps-within-an-iphone-application.html)了解如何在iOS上打开外部应用程序。我*相信*你可以打开这些应用程序,就像你试图加载一个url一样。我从来没有尝试过,但这是一个开始。 – 2011-04-26 12:54:18

<iPhone> 
    <InfoAdditions><![CDATA[ 
     <key>UIApplicationExitsOnSuspend</key> 
     <true/> 
     <key>UIDeviceFamily</key> 
     <array> 
      <string>1</string> 
      <string>2</string> 
     </array> 
     <key>CFBundleDocumentTypes</key> 
     <array> 
      <dict> 
      <key>CFBundleTypeIconFiles</key> 
       <array> 
        <string>iconsMobile/app32.png</string> 
        <string>iconsMobile/app128.png</string> 
       </array> 
      <key>CFBundleTypeName</key> 
       <string>File Type Name</string> 
      <key>CFBundleTypeRole</key> 
       <string>Viewer</string> 
      <key>LSHandlerRank</key> 
       <string>Owner</string> 
      <key>LSItemContentTypes</key> 
      <array> 
       <string>com.filename.ext</string> 
       <string>com.filename.ext2</string> 
       <string>org.gnu.gnu-zip-archive</string> 
      </array> 
      </dict> 
     </array> 
    <key>UTExportedTypeDeclarations</key> 
    <array> 
      <dict> 
     <key>UTTypeConformsTo</key> 
     <array> 
      <string>public.data</string> 
     </array> 
     <key>UTTypeDescription</key> 
     <string>File Type Name</string> 
     <key>UTTypeIdentifier</key> 
     <string>com.instacoll.mockups.lmp</string> 
     <key>UTTypeTagSpecification</key> 
     <dict> 
      <key>public.filename-extension</key> 
      <array> 
       <string>ext</string> 
       <string>ext1</string> 
      </array> 
      <key>public.mime-type</key> 
      <string>application/octet-stream</string> 
     </dict> 
      </dict> 
    </array> 
    ]]></InfoAdditions> 
    <requestedDisplayResolution>high</requestedDisplayResolution> 
</iPhone> 

一下添加到应用程序的XML,如果想使用EXT1也还有删除条目更换分机到您的扩展,将工作.. 我有多个扩展支持添加此。