I am developing and EPUB reader. I want to know some things related to other EPUB readers there in the market (like Cool reader, FBReader, Amazon Kindle and many more).
What type of view they use to show pages of .EPUB books?
Is it normal textview, webview or something custom?
How to implement search and bookmark functionality in epub reader as we loaded single html pages in webview?
I want to know how to read epub ? Is there any api in Android?
Any better solution is appreciated.
Look at Epublib – a java epub library it supports in the Android.
EPUB is simply a ZIP file containing HTML, CSS, images, and metadata.
So you can use WebView to display that HTML pages. Or possible convert it to in .png or bitmap then use in ImageView.
Related
I'm trying to create an epub reader app.
On the Homepage, I am trying to list the books with a Horizontal scroll view of the book covers.
For that, I need all the local pdf and epub files. How can I do that efficiently?
Thanks.
How I can laod doc/docx/pdf and xls files into WebView?
I tried to use loadData(myBase64, "mime type for example application/pdf", "base64), I tried to use loadUrl("file///...") - no effect.
Or how I can view this files in my application? (without external programs)
...And I CAN'T to use web readers.
How I can laod doc/docx/pdf and xls files into WebView?
You don't. WebView does not have the ability to display these file types. WebView handles HTML, CSS, JS, some image formats, and the like.
Or how I can view this files in my application? (without external programs)
You spend a lot of money on libraries to do this.
I want to read a PDF in my application so which is the best way for that?
PDF to image convert and show.
direct PDF reads form server using PDF reader.
There are set of libraries and sdk you can use to read pdf in android.
http://www.qoppa.com/android/pdfsdk/
http://code.google.com/p/droidreader/
https://github.com/jblough/Android-Pdf-Viewer-Library
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.