Is there any code to read MS Office PPT on Android? - android

I'm looking for code to read MS Office PPT on Android, is there anyone interested in sharing the code?

You might want to take a look at Apache POI - the Java API for Microsoft Documents
The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java.
http://poi.apache.org/

I found an useful Url here:
http://code.google.com/p/display-msoffice-docs-android-with-apache-poi/source/checkout

there are some trial library about Ms-office on Android http://code.google.com/p/android-office-demo/downloads/list

Related

Read & write shapefiles in android or java (.shp)

Read & Write shapefiles in android or java
How can i read and write shapefiles in Android or java?
.shp .shx and etc
i much searched but nothing
I want read file and edit information and write in same file or new file.
This is important i can write to file. i can read file but this isn't my problem
Thanks
Take Gdal for Android for a try.
Gdal
A translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing. The NEWS page describes the January 2017 GDAL/OGR 2.1.3 release.
Read/Write API Tutorial
Building for Android on Linux
Either, Google for pre-compiled package

Display MS Document file using apache poi library android

I am able to read the xls document but I don't know how to display it in my application. Do anyone have idea how to display MS Document files using apache poi library?
I have tried searching on google, everywhere only how to read document is mentioned not how to display these document. I don't want to modify the data inside document,Just want to display it.
Thanks in advance
The Apache POI library does not display documents in Android. It is for reading and writing those files, not displaying them. Quoting the mission statement:
The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java. Apache POI is your Java Excel solution (for Excel 97-2008). We have a complete API for porting other OOXML and OLE2 formats and welcome others to participate.

Reading Excel File without using jar file

I am new to Android. I want to know whether it is possible to read data from MS Excel file without using any jar files in android?
If it's possible then what's the best approach to do it .
Yes and no.
It's entirely possible to code a complete Excel API to read (and write) an Excel file. But that takes time and a lot of energy, as these formats are huge and complicated. You are practically mirroring the functions of Apache POI or JExcelApi. And these projects are huge.
As I don't know your reason for not using an external library (like an .jar) to read Excel, my answer is: Yes it's possible. Read the excel specification and implement an library to read this format. But practically: Don't do it and use the libraries from above. This will preserve you from a lot of pain.

How to create an MS Word document within an Android app

I want to create a word document within an android app and send that document through mail.
Is there any tutorial for creating a word document in android. I have gone through several other questions on this website but i didn't got a clear answer.
can we do this on Android using Apache POI.
If any any sample example exist then please mention.
Thanks in advance.
You can use any Java library in Android, so I do think this would be the way you could accomplish what you want (using Apache POI).
You can send the attachment by adding it as an extra to the Intent you use to create a mail message (lots of examples of that).
Apache POI looks your best bet, but note that the component that deals with Word docs only supports simple files:
HWPF and XWPF for Word Documents
HWPF is our port of the Microsoft Word 97 (-2003) file format to pure Java. It supports read, and limited write capabilities. It also provides simple text extraction support for the older Word 6 and Word 95 formats. Please see the HWPF project page for more information. This component remains in early stages of development. It can already read and write simple files.
We are also working on the XWPF for the WordprocessingML (2007+) format from the OOXML specification. This provides read and write support for simpler files, along with text extraction capabilities.
You should seriously consider whether you can use a different format for your emails - plain text, or maybe HTML.

Creating an MS Word document in an Android App

I am working on a client project for an android app and wanted to confirm if the designed solution appears to be utilizing the most appropriate technology and resources.
The application gathers data from the user via a series of questions, compiles the data into a single human-readable document, then sends the document out via email. My client requires the delivered doc to be in MS Word format. I am currently building my doc in the app using xml, setting the extension type as ".doc", then sending. Since the latest versions of MS Word seem to have no problem handling these types of files, this seems to be the most appropriate solution.
Is there anything obvious that I am missing? Should I be handling this another way?
You aren't writing DOC files correctly. If really need to save .DOC files I suggest you read this .pdf regarding thd DOC file format put out by the OpenOffice team.
As you are already writing the file in XML consider using Microsoft's Office XML format instead of writing the XML to a .DOC file.

Categories

Resources