skyepub

android epub library, skyepub

让人想犯罪 __ 提交于 2020-01-01 11:52:29
问题 I'm triyng to create an epub reader for android, so after a lot of searching I found skyepub library (SDK) . seems it have all features i want. i followed the tut in the site, but after running the code i got a blank screen and different logcat for different apis, i checked the code again and agian but i can't find what is wrong. here is my code and logcat, any help would be appreciated. public void makeLayout() { String fileName = new String(); fileName = "AliceinWonderland.epub"; makeSetup(

android epub library, skyepub

删除回忆录丶 提交于 2020-01-01 11:52:06
问题 I'm triyng to create an epub reader for android, so after a lot of searching I found skyepub library (SDK) . seems it have all features i want. i followed the tut in the site, but after running the code i got a blank screen and different logcat for different apis, i checked the code again and agian but i can't find what is wrong. here is my code and logcat, any help would be appreciated. public void makeLayout() { String fileName = new String(); fileName = "AliceinWonderland.epub"; makeSetup(

Reading a decrypted file into a ZipInputStream truncates first file sometimes

爱⌒轻易说出口 提交于 2019-12-20 07:27:19
问题 I'm working on an e-reader app (using skyepub) that basically downloads encrypted books into the file system (and it saves is decryption key in the database), and when the user tries to read it it loads the book into memory and decrypts it. The problem is that some books have their first chapter truncated (epub books are actually zip files, with each chapter being a separate file).. this result in this dreaded error: this XML file does not appear to have any style information associated with

How to access a zipEntry from a streamed zip file in memory

假如想象 提交于 2019-12-11 11:12:25
问题 I'm currently implementing an Ereader library (skyepub) that requires that I implement a method that checks if a zipEntry exists or not. In their demo version, the solution is simple: public boolean isExists(String baseDirectory,String contentPath) { setupZipFile(baseDirectory,contentPath); if (this.isCustomFont(contentPath)) { String path = baseDirectory +"/"+ contentPath; File file = new File(path); return file.exists(); } ZipEntry entry = this.getZipEntry(contentPath); if (entry==null)

why do certain zip files have unknown file content

别说谁变了你拦得住时间么 提交于 2019-12-11 05:53:39
问题 background I stumbled across this problem here analysis according to the java docs for ZipEntry, sometimes requesting the size of a zipfile entry simply returns -1 However, running the command $ unzip -l b17c024e-89f1-42f7-a546-91d46610cedb.epub Archive: b17c024e-89f1-42f7-a546-91d46610cedb.epub Length Date Time Name -------- ---- ---- ---- 20 01-27-12 11:17 mimetype 2378 04-20-12 10:12 OEBPS/hayat-ghayr.html 6436 02-06-12 11:06 OEBPS/content.opf 112579 01-27-12 11:25 OEBPS/images/978-614-425

android epub library, skyepub

◇◆丶佛笑我妖孽 提交于 2019-12-04 11:03:37
I'm triyng to create an epub reader for android, so after a lot of searching I found skyepub library (SDK) . seems it have all features i want. i followed the tut in the site, but after running the code i got a blank screen and different logcat for different apis, i checked the code again and agian but i can't find what is wrong. here is my code and logcat, any help would be appreciated. public void makeLayout() { String fileName = new String(); fileName = "AliceinWonderland.epub"; makeSetup(); //making directory in device and copy every thing to it rv = new ReflowableControl(this); // rv is