2011-04-22 116 views

回答

0

我不認爲你可以從電子郵件附件安裝應用程序,並且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

1
<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也還有刪除條目更換分機到您的擴展,將工作.. 我有多個擴展支持添加此。

相關問題