Hi
when try to activate product with method return false
boolean a = Init(act, 1, "corp name",
"mail buy license",
"key license");
what am I doing wrong?
public static void Init(Activity act) {
// second para is license type
// 0 means standard license.
// 1 means professional license
// 2 means premium license
// 3rd para is company name string(not package name)
// 4th para is mail
// 5th para is key string
// the package name got by native C/C++ library, not by pass parameter.
// activeProfessional(act, "company name",
// "mail buy license",
// "license key");
boolean a = Init(act, 1, "corp name",
"mail buy license",
"key license");
if (a) {
Toast.makeText(act, "activado", Toast.LENGTH_LONG).show();
} else {
Toast.makeText(act, "no activado", Toast.LENGTH_LONG).show();
}
}