Reflowable Layout
Fixed Issue that curling effect malfuctions when new chapter is loaded.
New function is Added
public void setBookFontIgnored(boolean value);
if value is set to true, the fonts inside epub will be ignored by sdk.
Reflowable Layout
Fixed Issue that curling effect malfuctions when new chapter is loaded.
New function is Added
public void setBookFontIgnored(boolean value);
if value is set to true, the fonts inside epub will be ignored by sdk.
Reflowable Layout
Bug resolved that page is broken when device is rotated in some old devices.
Reflowable Layout
Fixed the issue that HighlightRect does not match Highlight in RTL.
Fixed the issue that media played in the previous chapter does not stop when new chapter is loaded.
Reflowable Layout
Bug resolved that gotoPageByHash function malfunctions in RTL.
Bug resolved that gotoPageByHash function malfunctions in RTL and Vertical Writing.
Bug resolved that setTTSLanguage does not work.
Font is rendered with Anti-Aliasing now.
New Function is Added.
-(void)setNavigationAreaEnabled:(BOOL)value;
// if value is true(default), clicking both left and right side to navigate page will be enabled.
Reflowable Layout
Bug resolved that gotoPageByHash function malfunctions in RTL.
Bug resolved that gotoPageByHash function malfunctions in RTL and Vertical Writing.
Font is rendered with Anti-Aliasing.
New Function is Added.
public void setNavigationAreaEnabled(boolean value);
// if value is true(default), clicking both left and right side to navigate page will be enabled.
Fixed the Bug that New chapter can’t be loaded properly when app is back to foreground from background mode.
Fixed Layout
Bug fixed that epub(fixed layout) is not opened at some devices in Nougat (7.0.x).
Fixed Layout
The issue resolved that initWithStartPosition malfunctions.
Fixed Layout
resolved the issue that page is turned to right and shows blank when the epub is rtl (right to left) and first page if right corner is clicked.
A lot of issues are resolved,which are reported in previous version.
Performance is enhanced
Nougat is supported.
SkyDRM is fully integrated including Rights Management.
SkyError Broadcased is provided to monitor sdk engine.
private void registerSkyReceiver() { if(skyReceiver != null) return; final IntentFilter theFilter = new IntentFilter(); theFilter.addAction(Book.SKYERROR); this.skyReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { int code = intent.getIntExtra("code", 0); int level = intent.getIntExtra("level", 0); String message = intent.getStringExtra("message"); if (intent.getAction().equals(Book.SKYERROR)) { if (level==1) { showToast("SkyError "+message); } } } }; this.registerReceiver(this.skyReceiver, theFilter); } private void unregisterSkyReceiver() { try { if(skyReceiver != null) this.unregisterReceiver(skyReceiver); }catch(Exception e) { e.printStackTrace(); } }
Text To Speech is now supported with text highlighting.
/** set the Locale for Text To Speech * @param ttsLocale the locale of TTS if not set, SkyEpub SDK set this by the meta information of book automatically. */ public void setTTSLanguage(Locale ttsLocale) { super.setTTSLanguage(ttsLocale); } /** set the pitch of Text To Speech * @param pitch the pitch of TTS */ public void setTTSPitch(float pitch) { super.setTTSPitch(pitch); } /** set the speed rate of Text To Speech * @param rate the speed rate of TTS */ public void setTTSSpeedRate(float rate) { super.setTTSSpeedRate(rate); } /** set enabled/disabled of TTS * @param enabled */ public void setTTSEnabled(boolean value) { super.setTTSEnabled(value); } /** tells TTS is activated or not * */ public boolean isTTSEnabled() { return super.isTTSEnabled(); } /** let sdk to say text * @param text */ public void sayText(String text) { super.sayText(text); }
New functions are added
Curling Effect is grealy improved.
RTL is now supported.
Nougat is fully supported.