Knowledge Base and examples

Knowledge Base - How to activate my Android license?

During the activation key request, you should have entered some essential information:

1.     Company name

2.     Reference email address

3.     Package name

First two fields are self-explaining.

The third field is the unique package name you've chosen for your application: it is defined in the AndroidManifest.xml

Example:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

    package="com.radaee.reader"

    android:versionCode="1"

    android:versionName="1.0" >

Or in build.gradle of your application module:

defaultConfig {
applicationId "com.radaee.reader"
minSdkVersion 8
}

To activate your license You need to update the license variables in com.radaee.pdf.Global as Follows:

public static int mLicenseType = 2; //0 for standard, 1 for professional and 2 for premium
public static String mCompany = "radaee"; //company name (not package name)
public static String mEmail = "This email address is being protected from spambots. You need JavaScript enabled to view it."; //email
public static String mKey = "LNJFDN-C89QFX-9ZOU9E-OQ31K2-FADG6Z-XEBCAO"; //license key

 

For old versions:

you should invoke the correct activate method (activeXXX) in com.radaee.pdf.Global.Init(), based on your license type, like this:

boolean succeeded = activePremium(act, "radaee", "This email address is being protected from spambots. You need JavaScript enabled to view it.", "LNJFDN-C89QFX-9ZOU9E-OQ31K2-FADG6Z-XEBCAO");

In the above code first parameter represents the context, used to validate the package name.

Applies To

RadaeePDF SDK for Android

Related Articles

How to activate my iOS license?

Details

Created : 2015-01-16 18:09:58, Last Modified : 2017-03-02 10:58:11