I want to open an Excel file from an SDCARD on an Android phone. Which API should I use?
I think you have to use an API such as JExcelApi
I have no experience with this API but apparently you can use it with Android.
I think you'll still want to use the JExcelApi to read the contents of the file. As far as displaying the data on an Android device you'll probably want to look at TableLayout. Here is an answer outlining TableLayout to create a spreadsheet type display. This could also be done by reading the Excel file contents into HTML and displaying the HTML in a WebView
Related
I have one doubt regarding reading an Excel file in Android.
I have a button in XML file. When that button is clicked, it has to open the Excel file, which was there in my downloads, only for viewing purposes. Is it possible without using parsing techniques, converting Excel to sqlite?
I don't think that there is any way to directly convert excel to sqlite as there isn't any direct relationship between them but to read any excel file in android you can use this.
There is no inbuilt implementation from android.
Check this Blog post export-and-import-data-db-table-to-csv.
In my project I have to load the contents of a PDF located in the assets folder onto a WebView.Can It be achieved directly just by reading the contents onto a WebView.. I googled a lot and I found that i need to use third party PDF readers to achieve the same?
If so, Plz give me the links of the source of the PDF reader of GITHUB. Am not able to find it..
If you load pdf inside the webview, unicode text type or images wont be visible. So you want
to go for OCR tool.
Use set of libraries and sdk
This might help you
http://www.qoppa.com/android/pdfsdk/
http://code.google.com/p/droidreader/
mupdf is the best library in terms of performance and all i have found till now, you can also use it in your application.
But it needs knowledge of ndk.
Click here for more description
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.
Does anyone know a way to embed a PPT file (powerpoint) into a HTML?
I found solutions like embed through an iframe by Office Web App and/or Google Docs. I tried them and works fine into the HTML, but in my case I need to have the PPT file into a personal server.
Other options I found are like Embedit.in, a flash embed that shows th PPT (no convert the PPT to SWF (flash format)).
But, I still looking for a way for show a PPT file saved in a personal server into a HTML, any idea? any webservice for this problem?
Before PowePoint 2010 you could save the ppt to html using PowerPoint API.
Did you checked also for api vendors? It's a common issue probably there api to do that.
Suggestion...
Convert the ppt to pdf and use the code generator # http://pdfobject.com/generator.php .
Use standard (not java) .
There in one small mistake in the code they generate Remove the hashtag # at the end of the url.
I read in some blog post that OpenXML4J have a Android Library for reading .DOCX file in Android and with help of that we can easily edit, read and create DOCX format.
My questions are:
Is it possible?
Using same code as I use in OpenXML4J will create DOCX? Is there a library in DocX4j for android?
From my experience I am pretty sure this should be all possible. And you do not need an android specific jar a regular one works fine since its the same java working on it