Frequently Asked Question

How to update the Radaee PDF Library to the latest version (Classic/Master Android)?
Last Updated 28 days ago 118 views

This article explains how to update your Radaee PDF Library from an older release to the latest version. Follow these steps to ensure a smooth transition and proper license activation.

IMPORTANT: Unless you are an expert, we strongly recommend updating the Java library project (ViewLib) and the native library at the same time. Since the Java lib encapsulates the native library, updating only one may introduce unpredictable issues.

1. Where to get the latest update

The latest update for Radaee PDF Library is available on our official GitHub repository:

2. Activation and Code Modifications

Note that the activation method was updated on 2022-03-10. If your current version is older than this date, you will need a new activation key. If your version is newer, your current key will work.

Steps to update:

  1. Download or Clone the latest update from the GitHub link above.
  2. Replace the ViewLib project in your current solution with the new one from the downloaded package.
  3. Open the file: ViewLib/src/main/java/com/radaee/pdf/Global.java
  4. Locate Line 35 and update the activation key:
    public static String mSerial = "YOUR_ACTIVATION_KEY";

Note: For versions released after March 2022, additional information such as email address and company name are no longer required for activation.

3. Checking Activation Status

You must invoke the Global.Init() method before using any other SDK methods:

Global.Init(this);

To verify if the library is activated correctly, check the licenseType returned by the native method at line 437 in Global.java:

int licenseType = active(act, mSerial);

License Type Reference Table:

Value Activation Result
0 Failed to activate
1 Standard Edition
2 Professional Edition
3 Premium Edition

Loading ...