Licensing for Android Applications
QLM can protect Android apps with license keys with the same features available when protecting Windows applications. To copy protect an Android app, you generate an Activation Key from the QLM Application, via an API call or through our integration with leading ecommerce providers.
The activation key specifies the expiry date of the license as well which features should be enabled by this license.
The Android App user enters the Activation Key in your Android App and activates it. The diagram on the left displays the data flow between your Android app and the QLM web service.
QLM Pro can protect Android applications with permanent, trial and device bound keys. A java package (source code included) exposes an API that enables you to provide your customers with an evaluation of your software and then turn it at anytime into a permanent license, or simply extend it for subscription based applications.
The java package along with a sample applications are provided in the following QLM Pro samples folder:
%Public%\documents\quick license manager\samples\qlmpro\Android\Qlm.Vendor.App
The sample contains 2 packages: com.soraco.qlm and com.vendor.app
com.soraco.qlm is the package that performs the license validation, activation, encryption, etc. You typically do not need to change any code in this package. The QlmLicense class in this package is the main class you need to interfact with. The most common methods of this class are document in the help under “Quick License Manager Professional / API reference / Mobile Devices API”.
com.vendor.app simulates your application. When the application is launched, the ValidateActivity class checks if a license has ever been activated on the device. If no key was ever activated, the PrefsActivity is started to allow the user to enter an Activation Key and activate it.