简体   繁体   English

在iOS中从邮件附件打开Flex应用程序

[英]Opening flex application from mail's attachment in iOS

I've read this post which is really helpful. 我读了这篇文章 ,这真的很有帮助。 However I'm trying to open attachments in flex application. 但是我试图在Flex应用程序中打开附件。 Is it possible? 可能吗? Any experience about that? 有什么经验吗?

<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.

相关问题 在 iOS4 应用程序中打开邮件附件 - Opening attachments from Mail in iOS4 app 使用特定的外部应用程序从我的iOS应用程序打开pdf文件 - Opening a pdf file from my iOS App with a specific external application 如何在我的iOS应用程序中从Mail打开自定义数据文件? - How to open a custom data file from Mail in my iOS Application? 从应用程序发送电子邮件 iOS 4.0 及更高版本 - Send E-mail from An Application iOS 4.0 and above 从iOS Web应用程序内发送电子邮件,而无需关闭Web应用程序和打开邮件 - Sending an email from within iOS web app without closing web app and opening mail 将html文本作为附件以ios的pdf格式发送到邮件 - Sending html text to mail as an attachment in ios as pdf format 我如何分配应用程序以打开邮件附件 - how can i assign application to open mail attachment 取消从UIDocumentInteractionController打开的iOS邮件应用程序,将在iOS7中删除当前ViewController的视图 - Dismissing iOS mail app opened from UIDocumentInteractionController removes the presenting ViewController's view in iOS7 从mfmailcomposer发送附件时,无法查看邮件附件中的数据 - Not able to view the data in a attachment in mail when sending the attachments from mfmailcomposer iPhone发送的邮件中没有附件 - There is no attachment in the sent mail by iPhone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM