How to create a PowerPoint viewer in Android? - android

I am curious how to create a simple PowerPoint presentation viewer for Android. I am focusing on the Office 2003 and 2007 formats (which means .ppt and .pptx). How do I read .ppt or .pptx files and show them like a picture slideshow on my Android app?

Well that's a loaded question. Are you seriously thinking someone will write down the whole process for you? Have you done any research?
I'd start by seeing if there are any java libraries for working with .ppt files. Secondly, I'd see if I can use it in Android. Then I'd use the Android SDK to create the app using the said library.
Easy.

Related

How to open documents located in Local Storage in android using WebView?

I have a doc/ppt/xls file located in my sd card. I want to open it without any third party app (i.e within my app itself) using webview. Though I am able to open documents by embedding it in google docs url like -
http://docs.google.com/gview?embedded=true&url=[filelinkHere]
But how to open a file located in internal or external storage in webview ?
Also, Suggest me any third party ALL-IN-ONE library for android to view all types of documents. I have tried ASPOS but it has few unresolved bugs and APACHE-POI is difficult to use.
I had the same issue few days ago .
i found Android PdfViewer best to view PDF files and Android PdfMyXml best to create pdf files in android.
For working with Word and Excel as a most reliable answer I suggest you to take a look at OliveDocLibrary .
If your documents are in cloud so there is an alternative way to display docx,pptx,pdf and such formats with a combination of Webview and googleDoc.
You might find other possible solutions in server-side machines or maybe a creative way!
Hope it help
You can integrate some library project to your project with which you can open the pdf file inside your app.
Reference :
https://github.com/tekinarslan/AndroidPdfViewer
https://github.com/JoanZapata/android-pdfview

Best options for archive library for Android

I'm creating an Android app that will handle collections of image files.
I'm looking for an archive format (and library) similar to .zip or .tar that meets these requirements:
Open source
Allows extraction of a single file without extracting
all files
Capable of containing image and text (probably json) files
I'm looking for something that is well supported on Android. Something that works for Android and IOS would be a plus.
What about Gzip? Open source and it has native support on Android.
For iPhone, you could use the ZipArchive library, though it may also have native support. (Search the SDK, I don't know how!)

pdf and word viewers in android

I need to show the pdf and the word files from the sdcard into the application.
I am looking out for libraries that can be integrated for this.
There are a few which I surfed:
1) Vudroid
2) jBlough
3) apdf and so on...
4) olive (for word)
I need a library which can show both these formats or either of the two.
Secondly, which one would be a better to go with. I was unable to find the libraries apart from the jBlough and olive. Can somebody aid me with few links for these libraries?
Note: I am not looking for implicit intent.
You can use Document Viewer and Converter for Android. It is MIT licensed Android application that can view Microsoft Word, RTF and OpenDocument Text files and convert them to PDF, DOCX, DOC, ODT, RTF and HTML.
The application uses Aspose.Words for Android to process, render and convert the documents and uses some basic Android platform's features to lazy-load and cache page previews.
Disclosure: I am a developer at Aspose.
Check out this library:
http://www.csr.com/products/directoffice-mobile-sdk
It will convert Office and PDF to PNG or PDF. The PNG files are easy to display in your app.

How to load a .pdf or a .doc file in android

I want to show a pdf (preferably) or a word document in my app; like a privacy notice screen. Many applications have it, so it should be possible. i tried loading a simple text file as a start but doesn't provide formatting, fonts or trade mark symbols. I've gone through a few posts but I couldn't apply it to my app. Could anyone tell me how is it done? Could I store the file somewhere in res folder and provide a path to open it through my code? I looked into the following link but I'm not sure if that's the right approach in my case android: open a pdf from my app using the built in pdf viewer.
Android does not support opening PDF and DOC files natively. You'd have to make your own implementation.
Like t0mm13b said, you should consider using HTML (+ CSS) instead and use a WebView.

Is It Possible To Include DWG Trueview In The Android SDK As A Tool To Open And View a DWG File?

We are developing an application which is able to open and modify a DWG file without converting it to other formats (e.g. PDF, JPG). In this application we need to allow the user to open and view DWG files.
Can someone please help us with this? Or suggest some other ways by which we can open and view DWG files without converting it to any other image file format?
We are developing an application...to
open and modify a DWG file
What in particular do you need help with? You're going to be writing an entire application devoted to opening a specific format of a vector drawing file -- this is no small task.
DWG seems to be an open standard, you can find the specification here (PDF link). To give you an idea of the complexity, it's a 225 page PDF document. That said, you may be able to find an open source DWG Java library that you can modify to use with Android. A cursory Google search brought up jdwglib (Java DWG Library).

Categories

Resources