Back to project page android-easy-lvl.
The source code is released under:
MIT License
If you think the Android project android-easy-lvl listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.sample; //from w ww . j a va 2 s .c o m import android.app.Activity; import android.os.Bundle; import android.os.Handler; import com.i4da.easylvl.EasyLicenseChecker; public class MainActivity extends Activity { private EasyLicenseChecker mLicenseChecker; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mLicenseChecker = new EasyLicenseChecker(this, new Handler()); mLicenseChecker.start(); } @Override protected void onDestroy() { super.onDestroy(); if (mLicenseChecker != null) mLicenseChecker.finish(); } }