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

Global.Init with arguments not available anymore

More
IP: 217.141.78.166 3 years 10 months ago #15779 by simone.p
Back in ViewLib version Android - 3.55.4 I used to init the module by passing arguments to the Init function in this way:com.radaee.pdf.Global.Init(
myInstance as ContextWrapper,
RADAEE_LICENSE_TYPE,
RADAEE_COMPANY,
RADAEE_EMAIL,
RADAEE_KEY
)Now in version 3.65.21 I can't anymore.
Ho do i initialize the ViewLib module by passing those arguments at runtime?
More
IP: 111.196.240.150 3 years 10 months ago #15780 by radaee
dear user:
now we write these parameters in begin of com.radaee.pdf.Global class:
public static String mCompany = "radaee";
public static String mEmail = "[email protected]";
public static String mKey = "LNJFDN-C89QFX-9ZOU9E-OQ31K2-5R5V9L-KM0Y1L";
More
IP: 217.141.78.166 3 years 10 months ago #15783 by simone.p
Why?
I have many licences and need to pass those data at runtime.
I find it very ugly to have to modify manually your LIB in order to make it work..
More
IP: 111.196.246.61 3 years 10 months ago - 3 years 10 months ago #15784 by radaee
sorry, for not convience.
you may wrap a Init method in Global classs like:
Code:
static public boolean Init(ContextWrapper act, int license_type, String company, String email, String key) { mCompany = company; mEmail = email; mKey = key; return Init(act); }
Last edit: 3 years 10 months ago by radaee.
Time to create page: 0.468 seconds
Powered by Kunena Forum