Does anyone know how to programatically display an email saved from Microsoft Outlook as a file via iOS? The original file is saved as either .eml or .msg format and stored in a filestore. I then download this file and need to display the contents (with links to attachments) in an iOS device.
I have looked at using UIWebView and QLPreviewController but cant see a suitable file format to use for saved email files.
If direct viewing of .msg or .eml files is not possible, is there a standard format that I could convert to so that i can display the saved emails (as files) in iOS?
Related
I succeeded to make an excel file by using libXlsxWriter in Swift in my App and I have an URL that represent the excel file.
I made Share button for users to share the excel file easily by using UIDocumentInteractionController.
Now I want to add an Open button for users to open the excel file easily with appropriate app such as Microsoft Excel and Polaris Office in my App.
(I know that I can select Polaris Office and Microsoft Excel when I clicked share button but the other share methods are also shown. I want to force open excel app)
However I couldn't find a solution.
How can I force to open excel file with appropriate apps from URL in Swift?
Is it possible?
I'm working on a Phonegap 3.1 iOS app.
What I have currently:
I'm using the InAppBrowser plugin to view user-uploaded documents from a server.
The document types users upload are commonly (but not limited to) the following:
.pdf
.png, .gif, .jpeg
.xls, .doc, .ppt
.txt
What I want to do:
Viewing the files works well in the InAppBrowser, but now I am exploring ways that users could send the documents to each other.Mobile Safari has a share button that allows a user to send a file by airdrop, message, mail, tweet, facebook or airprint. I cannot, however, use Safari since it is a non-negotiable requirement that I do not expose the URL where these files are hosted.
The InAppBrowser allows me to hide the location from the user, which is not possible with Mobile Safari. I want to be able to email and print a document without ever exposing the url where that document lives.
Is it possible to create the same sharing mechanism from within a Phonegap app?
What I know so far
I'm aware of the Phonegap File plugin for uploading and downloading files.
If I were to download a file from the server so it was stored locally, how would I go about making it shareable (through email, airdrop, etc)?
From what I can tell, there are no relevant Phonegap 3.0+ compliant plugins to achieve this so I would think I need to create my own. Am I on the right track?
I have an app for our field sales team that generates customer data based on some inputs. The sales rep can then email that data as an attached PDF doc (created programmatically in the app). I also have a stored PDF document with some marketing information on our products that also gets attached to the email. This PDF was created in Apple's Pages and imported into the bundle and then is moved to the docs directory.
My problem is when I attach the programmatically created PDF, the app functions fine. When I attach the stored PDF file, in the email on the iPad both attachments have the .pdf extension but when I receive them in my email (Lotus Notes - I know, I know : ( ) both files come with .pdf.zip extensions and cannot be opened.
If I send just the stored one, the same, .pdf.zip.
On my desktop I can open the original file and read it in Preview and Adobe Reader so it doesn't seem corrupted. Any ideas as to what is going on here?
Thanks
I'm developing an Epub reader on BlackBerry java platform, and I'd like to know if there is a possible way to register my application as the default reader for Epub files, like if a clicked on an attached Epub file within an email, or a link to that file in browser, or even if I clicked on it while browsing all files locally, am I going so far with this? is it possible?
Try using the Content Handler APIs, which allow you to register an app to handle files of a particular extension and content type (e.g. .epub and type application/epub+zip).
See this BlackBerry reference document for more information
If you install the full SDK, you should also find the CHAPIdemo sample code under samples/com/rim/samples/device/chapidemo.
I need to declare to any iOS 5 device that my application is able to open a specified file type format (e.g. a pdf, rtf, or jpg) file received as an attachment in an email. I read Apple documentation, and searched the web but couldn't obtained any result from all those tricks. Do you know any complete and efficient tutorial about declaring that ability of my application in a Xcode 4.3.x project? I just need that a user, when receiving an attachment, may be proposed either to preview the file or to open it in my application.
Thanks!
Denis