Author Archives: skytree21

SkyEpub 7.0.4 for iOS Released

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.

SkyEpub 7.0.4 for Android Released

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.

SkyEpub 7.0.0 for Android Released

Common

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 != nullreturn;

        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();

        }

    }

Reflowable Layout

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

Fixed Layout


Curling Effect is grealy improved.
RTL is now supported.
Nougat is fully supported.