asadqazi / android-daisy-epub-reader

Automatically exported from code.google.com/p/android-daisy-epub-reader
0 stars 0 forks source link

Add support for zipped books. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The epub format is effectively a DAISY 3 book wrapped in a zip file. Many DAISY 
books are also distributed in a zip file, and it'd be a boon for users to be 
able to keep the book as a single zip rather than unpacking them on their 
phones. So let's find a way to support zipped content soon :)

One possible option is to use https://truezip.dev.java.net/nzip.html rather 
than coding around the standard java.util.zip class.

Original issue reported on code.google.com by julianharty on 28 Jun 2010 at 4:59

GoogleCodeExporter commented 9 years ago
Just an update with some more ideas

One option would be to provide a mechanism that reads zip files and extracts 
the contents to a new (user-specified) folder within the root folder for their 
DAISY books. While this may be clunky in terms of user-interaction, and also 
wasteful in terms of storage, it should work sufficiently and provide an 
improvement on the current, non-existent support for zipped content.

Also, if we offer a download using an embedded web browser (currently described 
here http://code.google.com/p/android-daisy-epub-reader/wiki/DesignNotes ) then 
we can offer a way for the user to unpack any books they have just downloaded.

Original comment by julianharty on 28 Dec 2011 at 11:15

GoogleCodeExporter commented 9 years ago
More notes:
By default the webview downloads content to the /sdcard/download folder. 
Applications such as Astro file manager do a good job of unpacking the 
downloaded file (at least if you are able to read the UI, I don't know how well 
it works for visually impaired users). Astro provides all the following 
actions: select all, copy, change folder, [create] new folder, and paste. These 
are enough to unpack DAISY books so we can read them.

I'd like to do something better that doesn't need third party apps installed, 
however this is a start.

Original comment by julianharty on 28 Dec 2011 at 1:02

GoogleCodeExporter commented 9 years ago
This capability is part of the new design, once the new design has a working UI 
for Android I'll close this issue.

Original comment by julianharty on 12 May 2012 at 2:48

GoogleCodeExporter commented 9 years ago
We now have a working Alpha that can read directly from Zipped DAISY books so 
I'm closing this issue.

Original comment by julianharty on 26 Jun 2013 at 8:34