how can I test if it works properly licensing service in my app ?
I published my app on the market but when i test locally (on my phone) i have the errore LICENSE NOT VALID...
In Process_Globals:
In Main:
it's all correct??
I published my app on the market but when i test locally (on my phone) i have the errore LICENSE NOT VALID...
In Process_Globals:
Dim publicKey As String
publicKey = "MII........"
Dim test1 As String
In Main:
'--- initialize a LicenseChecker object
If FirstTime Then
Dim lc As LicenseChecker
Dim p As PhoneId
lc.Initialize("lc", p.GetDeviceId, publicKey, "k.......".GetBytes("UTF8"))
lc.SetVariableAndValue("test1", "vtest1")
lc.CheckAccess
End If
Sub lc_Allow
StartApplication
End Sub
Sub lc_DontAllow
Msgbox("License not valid","nameapp")
ExitApplication
End Sub
Sub lc_Error (ErrorCode As String)
Msgbox("License Error","nameapp")
ExitApplication
End Sub
it's all correct??
Last edited: