Category Archives: Posts

SkyEpub 4.5.5 for Android Released

Reflowable Layout

New Function
String getStyleForChapter(int chapterIndex);
Added to ScriptListener

public interface ScriptListener {
// should return the custom script for chapterIndex
String getScriptForChapter(int chapterIndex); // datasource
// should return the custom style for chapterIndex
String getStyleForChapter(int chapterIndex); // Newly Added
}

String getStyleForChapter(int chapterIndex); can be used when you need to set custom css file for a given chapter.
example)

class ScriptDelegate implements ScriptListener {
@Override
public String getScriptForChapter(int chapterIndex) {
// TODO Auto-generated method stub
String customScript = null;
// customScript = “” +
// “function changePColor() {” +
// ” var elements = document.getElementsByTagName(‘p’);” +
// ” for (var i=0; i<elements.length; i++) {" +
// " elements[i].style.color = '#FF0000';" +
// " }"+
// "}"+
// "changePColor();";
//
return customScript;
}

@Override
public String getStyleForChapter(int chapterIndex) {
// TODO Auto-generated method stub
String customCSS = null;
// customCSS = “p{ color: #ff0000; }”;
return customCSS;
}

}

SkyEpub 4.5.5 for iOS Released

Reflowable Layout
New Function Added to ReflowableViewControllerDataSource
/** CSS source for chapterIndex can be passed to the engine if you like to implement some custom behaviors. */
-(NSString*)reflowableViewController:(ReflowableViewController*)rvc styleForChapter:(NSInteger)chapterIndex;

SkyEpub 4.4.7 for Android Released

Reflowable Layout
Bug Fixed when going to background mode, media does not stop playing sometimes.
Bug Fixed about Footnote which is based on aside tag in html5.
Bug Fixed that in some devices, app crashes in curling mode.
Bug Fixed that jumping to certain chapter with hash location failed in some devices.

Fixed Layout
Bug Fixed when going to background mode, media does not stop playing sometimes.
Bug Fixed that video which has auto-play property does not play sometimes.

SkyEpub 4.4.7 for iOS Released

Reflowable Layout
Bug Fixed when going to background mode, media does not stop playing sometimes.
Bug Fixed about Footnote which is based on aside tag in html5.

Fixed Layout
Bug Fixed when going to background mode, media does not stop playing sometimes.
Bug Fixed that video which has auto-play property does not play sometimes.