SlideLock License - how to do?

I've protected my application using the SlideLock. I've used the demo without any modifications other than the key.

I may have misunderstood the inner workings of SlideLock. My impression is that when SAM is installed on a phone, the phone is registered in the SlideMe Database. Later when an app that uses SlideLock requests a license. The API looks in the database and checks if the owner of that phone owns an instance of the app with the specified slidelock key?

But apparently something is wrong. I bought my own app and installed it via the SlideMe app. But it terminates due to no license.

Below is my code. LicenseCheckAsyncTask etc is copied from the SlideLock Demo (

Can you help?


N.B. The app is here:

private void checkLicence() {
new LicenseCheckAsyncTask(CordovaApp.this, "xxx_the_actual_slidelock_keyxxx") {
public void onPostExecute(License.Rights rights) {
if (rights == null) {
Toast.makeText(CordovaApp.this, "Invalid license! App will now terminate!", Toast.LENGTH_LONG).show();
timer = new Timer();
timerTask = new TimerTask() {
public void run() {
timer.schedule(timerTask, 5000);


It seems I'd used an illegal char in the key.

Thanks SlideMe support for identifying the problem.