I have just recreated some PDF's on my mac, and uploaded them to parse.com.
Now if i try to select them from parse.com, or my own website (using iOS or OSx) the file is downloaded rather than opened. All the PDF's is created before today still work fine. I have created the files using MS Word and a booklet printer but this has always worked before. Any ideas?
Just sorted it. It seems to be related to the Parse.com beta Dashboard. When I upload files to Parse.com using the new Dashboard, they will not open but will only download. When I deleted all the files and uploaded them again using the old Parse.com Dashboard everything worked ok.
Related
I have my resume hosted on resume.momohossa.in
My issue is that when I try to reach this site on my computer, it just opens in a new page. However, when I try to open it on my phone, it has to download the file. Then, I have to open the downloaded file on a PDF viewer such as adobe. I would like for it to not immediately download on my phone. Does anyone have any advice?
Thank you in advance!
By default, on iOS devices, its safari browser can view PDF file directly, and for android deveices, its chrome browser also can do that.
make sure you pdf file is not a stream output file. just make it a static file, e.g. http://host/target.pdf not http://host/pdf/target
I have a web page that generates a costume pdf file using fpdf php library. I can then view, download, zoom in, zoom out that file (pdf file) in my web page. It works fine using a web browser, but I've problem in saving the pdf file from a webview in Objective C. I am working on Mac OS X 10.6 using XCode 3.2. I've an application that has a webview that is linked to that web page. the application runs on client machine. All the options except saving the file work fine in the web view. How can I get out of this problem.
Thanx to all in advance.
There is an AIR magazine application that downloads it's content as you view it. I want to save a couple of pages on my local disk, is there a way to do it?
The App does't store anything in it's Application Contents folder (I'm on a Mac) or in ~/Library/Application Support/.
Thanks.
I am wondering if there is a way in objective c to have my iPad app copy a file in it's documents folder to another app's documents folder and have that app open the file for editing and finally copy the file back to my documents folder. Or better yet, can I have another app open a file from my documents folder, edit the file, and save it back to my documents folder?
So far I know I can have another app open a file in my documents folder but the app that I'm handing the document off to seems to be making a local copy and editing the copy. I also know that each app's document folder is a shared folder that users can drag and drop stuff from itunes but I'm not sure if the same can be done in code.
I am pretty sure what you are trying to do is impossible. iOS applications are "sandboxed" which means that each app has its own documents directory. No application has access to the file system outside its own "sandbox" i.e. outside its own local documents directory.
For more on the iOS application sandbox, Read here.
Though a sandbox exists, I found a way to work around it (it's a trick being used by other File Manager apps like GoAruna). I would first register my app as an app that can open the type of files that I plan to work with. Then I use the Open In functionality to have my users open up my apps local documents in the second app, an app like iAnnotate. Then, because my app is registered as an app that can open the current file type, I can instruct my users to use Open In from iAnnotate to move the modified document back to my app. Sorry but I could not accept "no" as an answer. If anyone is interested in this approach, go here
If your iPad is jail broken, try this:
On the app iFile, type in the document name in the search box located at the top. Once you find the document, click on it and options would be showed to you. From here you can choose the app you want to open the file with.
Hope this helps.
I wanted to let users browse my site as a desktop application,
but didn't have the time to write an application from scratch.
SO tried following trick.
Created a simple Adobe AIR application with a single page.
This page redirects to my website and hence loads the website in the AIR window.
Everything is working fine except that the download links are not working. The download doesn't start. Nothing happens. What is the solution here?
Any help is appreciated.
Well... Adobe AIR doesn't support downloading from a link.
But it does provide you the option to open a link in your default browser. I am using this now.