Hello,
i am trying work with AdditionalJar
everyhing is fine until write below code to inside
#If JAVA
import android.app.enterprise.license.EnterpriseLicenseManager;
end if
mContext = this.getApplicationContext();
mLicenseMgr = EnterpriseLicenseManager.getInstance(mContext);
String key = "XXXXXXXXX" ;
mLicenseMgr.activateLicense(key);
i got error :
javac 1.7.0_65
src\b4a\example\main.java:492: error: cannot find symbol
mContext = this.getApplicationContext();
^
symbol: variable mContext
location: class main
1 error
i am sure there is something about java syntax or something else
can anyone help me about write exact code to inside Inline Java
best regards
i am trying work with AdditionalJar
everyhing is fine until write below code to inside
#If JAVA
import android.app.enterprise.license.EnterpriseLicenseManager;
end if
mContext = this.getApplicationContext();
mLicenseMgr = EnterpriseLicenseManager.getInstance(mContext);
String key = "XXXXXXXXX" ;
mLicenseMgr.activateLicense(key);
i got error :
javac 1.7.0_65
src\b4a\example\main.java:492: error: cannot find symbol
mContext = this.getApplicationContext();
^
symbol: variable mContext
location: class main
1 error
i am sure there is something about java syntax or something else
can anyone help me about write exact code to inside Inline Java
best regards