Knowledge Base and examples

Knowledge Base - Test different license types on Android before buying the license

The demo project comes with ready-to-use demo-activated license (standard, professional and premium).

In com.radaee.pdf.Global.Init(), you can adopt the active method you want to test.

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

  • Premium

    • 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
  • Professional
    • public static int mLicenseType = 1; //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 = "Z5A7JV-5WQAJY-9ZOU9E-OQ31K2-FADG6Z-XEBCAO"; //license key
  • Standard
    • public static int mLicenseType = 0; //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 = "HV8A19-WOT9YC-9ZOU9E-OQ31K2-FADG6Z-XEBCAO"; //license key

For old versions of the library: 

// boolean succeeded = activeStandard(act, "radaee", "radaee_com@yahoo.cn", "HV8A19-WOT9YC-9ZOU9E-OQ31K2-FADG6Z-XEBCAO");

// boolean succeeded = activeProfessional( act, "radaee", "radaee_com@yahoo.cn", "Z5A7JV-5WQAJY-9ZOU9E-OQ31K2-FADG6Z-XEBCAO" );

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

 

You can either use the demo project (which is activated with premium license) for your tests or give your project "com.radaee.reader" as package name.

Eclipse: Right click you project -> Android Tools -> Rename Application package, to be able to test the professional and/or premium features.

Android Studio: build.gradle (Module: PDFReader or RDPDFReader) --> change applicationId "your package name" --> Clean project, to be able to test the professional and/or premium features.

 

Applies To

RadaeePDF SDK for Android

Related Articles

Test different license types on iOS before buying the license

Details

Created : 2015-01-16 18:13:17, Last Modified : 2017-04-07 12:01:54