Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Unable to add annotations on development mode

More
IP: 139.47.26.191 4 years 1 week ago #15754 by descua
Hi! We have a Premium license and we're facing the following issue.
Function AddAnnotRect for a page, allows us to add an annotation when the app is in release mode. But if we're are just in development mode (e.g launching the app from Android Studio itself) always fails, the function returns false. Why can this be happening? It has something to do with the license or is a limitation on the library?
Thank you in advance for your support.
More
IP: 82.52.101.234 4 years 1 week ago #15755 by support
Is your debug mode using the same package name of release?
remember that the license is strictly tied to the package name/bundled. If you're using a different string while In debugging the license activation will fail.
 
More
IP: 139.47.26.191 4 years 1 week ago #15756 by descua
Ok, so this is the problem, because the debug package has a different name than the release one.
In that case it would be helpful to get a proper message from the library to realize the problem at the first hit.

Thanks for your quickly answer, best regards!
More
IP: 82.52.101.234 4 years 1 week ago #15757 by support
When activation of the license fails, it return 0.
The code behind activation isint licenseType = 0;
if (activeStandard(act, mCompany, mEmail, mKey)) licenseType = 1;
else if (activeProfessional(act, mCompany, mEmail, mKey)) licenseType = 2;
else if (activePremium(act, mCompany, mEmail, mKey)) licenseType = 3;
ms_init = (licenseType > 0);
...
...
return ms_init;
from Global.java
Time to create page: 0.426 seconds
Powered by Kunena Forum