FolioReader / FolioReader-Android

A Java ePub reader and parser framework for Android.
BSD 3-Clause "New" or "Revised" License
2.25k stars 716 forks source link

App reloaded #333

Open cp-capsitech opened 5 years ago

cp-capsitech commented 5 years ago

Issue / Feature - Folio Reader version - 0.5.1 Folio Reader Stock / Modified -
Android SDK - minSdkVersion 19 targetSdkVersion 27 Mobile / Tablet / Emulator Info -
Crash / Error - error

Steps to reproduce / Describe in detail - if we open sub chapter, app reload automatically

if we click content chapters icon plus, app reload automatically

hrishikesh-kadam commented 5 years ago

@CPJANGID Unable to reproduce the issue. Can you share your EPUB file with us?

cp-capsitech commented 5 years ago

PFA

On Thu, Jan 3, 2019 at 3:16 PM Hrishikesh Kadam notifications@github.com wrote:

@CPJANGID https://github.com/CPJANGID Unable to reproduce the issue. Can you share your EPUB file with us?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/333#issuecomment-451095722, or mute the thread https://github.com/notifications/unsubscribe-auth/ArWbJcQUcb8kN3xENCoZ63l3vygD_Bcaks5u_dFjgaJpZM4Znx1m .

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

cp-capsitech commented 5 years ago

hello sir,

how to prevent rendering if I am change font and day night mode in book. this problem not in iOS.

thanks.

On Thu, Jan 3, 2019 at 3:50 PM CP Jangid cp.capsitech@gmail.com wrote:

PFA

On Thu, Jan 3, 2019 at 3:16 PM Hrishikesh Kadam notifications@github.com wrote:

@CPJANGID https://github.com/CPJANGID Unable to reproduce the issue. Can you share your EPUB file with us?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/333#issuecomment-451095722, or mute the thread https://github.com/notifications/unsubscribe-auth/ArWbJcQUcb8kN3xENCoZ63l3vygD_Bcaks5u_dFjgaJpZM4Znx1m .

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

hrishikesh-kadam commented 5 years ago

@CPJANGID I think you forgot to attach EPUB file.

cp-capsitech commented 5 years ago

sir,

I am do not attach file, this files are connected through api from server. this problem not in folio reader 0.4.1,this problem got when I am updating folio reader version 0.5.1

thanks

On Thu, Jan 3, 2019 at 4:56 PM Hrishikesh Kadam notifications@github.com wrote:

@CPJANGID https://github.com/CPJANGID I think you forgot to attach EPUB file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/333#issuecomment-451117625, or mute the thread https://github.com/notifications/unsubscribe-auth/ArWbJQHnwFQ1B1kj6Rm-XEnCIPVjPFXsks5u_ejrgaJpZM4Znx1m .

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

cp-capsitech commented 5 years ago

I want to require BookMark option is it possible to integrate into this library?

On Thu, Jan 3, 2019 at 5:06 PM CP Jangid cp.capsitech@gmail.com wrote:

sir,

I am do not attach file, this files are connected through api from server. this problem not in folio reader 0.4.1,this problem got when I am updating folio reader version 0.5.1

thanks

On Thu, Jan 3, 2019 at 4:56 PM Hrishikesh Kadam notifications@github.com wrote:

@CPJANGID https://github.com/CPJANGID I think you forgot to attach EPUB file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/333#issuecomment-451117625, or mute the thread https://github.com/notifications/unsubscribe-auth/ArWbJQHnwFQ1B1kj6Rm-XEnCIPVjPFXsks5u_ejrgaJpZM4Znx1m .

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

--

Thanks Chandra Prakash Jangid

CAPSITECH IT SERVICES PRIVATE LIMITED Shanti Anand | 23/305 Basement | C.H.B. | Jodhpur-342008 | INDIA Phone : +91 (0) 270 8500 | Mob.+919414919857 <%2B91%209024819209> Email : cp.capsitech@gmail.com | Web Url : http://www.capsitech.com/

cp-capsitech commented 5 years ago

01-08 12:09:44.395 30284-30284/com.example.cpjangid.foliodemo E/FolioActivity: -> Failed to initialize book java.lang.Exception: Error : Publication has no title at org.readium.r2.streamer.parser.epub.MetadataParser.mainTitle(MetadataParser.kt:58) at org.readium.r2.streamer.parser.epub.OPFParser.parseMetadata(OPFParser.kt:46) at org.readium.r2.streamer.parser.epub.OPFParser.parseOpf(OPFParser.kt:31) at org.readium.r2.streamer.parser.EpubParser.parse(EpubParser.kt:100) at com.folioreader.ui.folio.activity.FolioActivity.initBook(FolioActivity.java:458) at com.folioreader.ui.folio.activity.FolioActivity.setupBook(FolioActivity.java:432) at com.folioreader.ui.folio.activity.FolioActivity.onCreate(FolioActivity.java:283) at android.app.Activity.performCreate(Activity.java:7084) at android.app.Activity.performCreate(Activity.java:7075) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2767) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:171) at android.app.ActivityThread.main(ActivityThread.java:6635) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

cp-capsitech commented 5 years ago

Publication has no title

cp-capsitech commented 5 years ago

I don't want to save book in cache open in folio reader, so please tell me how to clear cache when book close or back

iLeafSolutionsPvtLtd commented 5 years ago

I too face similar issues in 0.5.2 + versions of FolioReader. The sample app also having the same problems. 0.5.1 was smooth when changing fonts or day night mode. In 0.5.2, app freezes for some time and gets refreshed with applied changes. From 0.5.3 App crashes if user changes font or adjusts day night mode. It is reproducible with the sample app provided along with FolioReader.

sunil-singh-chaudhary commented 4 years ago

java.lang.Exception: Error : Publication has no title at org.readium.r2.streamer.parser.epub.MetadataParser.mainTitle(MetadataParser.kt:58) at org.readium.r2.streamer.parser.epub.OPFParser.parseMetadata(OPFParser.kt:46) at org.readium.r2.streamer.parser.epub.OPFParser.parseOpf(OPFParser.kt:31) at org.readium.r2.streamer.parser.EpubParser.parse(EpubParser.kt:98) at com.folioreader.ui.activity.FolioActivity.initBook(FolioActivity.kt:477) at com.folioreader.ui.activity.FolioActivity.setupBook(FolioActivity.kt:447) at com.folioreader.ui.activity.FolioActivity.onCreate(FolioActivity.kt:296)

sunil-singh-chaudhary commented 4 years ago

aliceDynamic.zip this is the file giving me error

java.lang.Exception: Error : Publication has no title