How to view .dwg (AutoCAD) files in webview in ios - ios

Want to View .dwg files in UIWebView in Iphone,
I have tried to load the URL of .dwg file in webview.But its not loading.
Please suggest any 3rd party browser or any other way to viewing .dwg files.
Thanks in Advance.

here is the list of supported document formats, it's no AutoCAD there
https://developer.apple.com/library/ios/qa/qa1630/_index.html#//apple_ref/doc/uid/DTS40008749
you can try to use Autodesk DWF Toolkit for this
http://usa.autodesk.com/adsk/servlet/index?id=823771&siteID=123112

Related

How do I preview a file using InputStream in WebView iOS- swift

I am working on file previewing in iOS. I have tried using UIWebview to load the data and UIDocumentInteractionViewController. However, these methods won't work well with large files.
I was thinking of using FileStreams InputStream/OutputStream to preview files.
How can I use UIWebview to preview file from an InputStream.
Would love to know a good approach to this problem?.

How to view files(docx, ppt, xlsx, etc.) from my project’s assets in flutter?

Im working on a flutter app that needs to view document files. Is there a way to open or view document files from my assets?
FlutterPdfViewer.loadAsset(filepath) works fine but OpenFile.open(filepath) only works with files within the phone’s storage.
I can’t find any packages to view other file types besides pdf files from my project’s assets. Are there other ways? I hope you can help me.
I had the same problem and didn't find a solution, so I think, that open_file plugin calls a native app to open a file. That's why you can't open a file from assets using other application.
I think that you have to save that file in storage, after that call open_file OpenFile.open() method.

Can we share PDF or other documents using JSQMessanger?

We want to share PDF or other documents using JSQMessanger. Because we have used JSQMessanger for chating in our App.
You should expand JSQ functionalities for the PDF source
Look at how the example app does media items i.e. Video or images. It will be similar to this and then you just need to adapt it so that it can handle the PDF payload. Definitely a great thing to add to the library.

building a document preview webpage

Hi i'm wanting to create a webpage in which i can pass a url to a document and it previews it. the idea behind this is so i can create a responsive web view for android so i can preview documents from with an app i have basic knowledge of php and html but if some one could point me in the right direction? i have had a look around but can't find anything that basic i don't need to edit the documents just view them. Does anyone know how to do this?
ps: the docs i want to preview are .xl .xls .doc .docx .pdf .ppt etc
Here is what looks to be a decent open source option.
http://flexpaper.devaldi.com/
One option would be to convert the documents to .pdf first using OpenOffice and then preview them using pdf.js

How to read pdf file in ios .I am not using UIWebView

I want to read a pdf file which is coming in URl from server. I am not using UIWebview.
So, i just want to know that is there any way to view that pdf file without downloading in to device. Just it be readable or buffered, not stored.
Any suggestions for that.
The easiest way to show a PDF outside of a UIWebView is using the QuickLook framework:
http://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/UsingtheQuickLookFramework.html
However, as isn't unreasonable, Quicklook requires URLs of a "file" type.
So without using a UIWebView, you'll need to add your own code to download/cache/display, which isn't hard. If you need sample code, let me know.

Resources