[英]Opening flex application from mail's attachment in iOS
<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>
Add this to application xml and replace the ext to your extension it will work.. i add this with multiple extension support if want use ext1 also else remove that entry. 将此添加到应用程序xml中,然后将ext替换为您的扩展名即可。.如果要使用ext1,我添加了多个扩展名支持,否则请删除该条目。
I don't think you can install an app from an email attachment and Flash isn't installed on the iPhone. 我认为您无法通过电子邮件附件安装应用,并且iPhone上未安装Flash。 So essentially, no, you can't open a Flex app from an email attachment. 因此,从本质上讲,不能,您无法通过电子邮件附件打开Flex应用程序。
Thanks, but I've found what I was looking for here: 谢谢,但是我在这里找到了想要的东西:
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html#WS901d38e593cd1bac6c9d409a12e26b451be-8000 http://help.adobe.com/zh_CN/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html#WS901d38e593cd1bac6c9d409a12e26b451be-8000
I had to prepare the proper file descriptor. 我必须准备适当的文件描述符。 Works fine. 工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.