I uses this code several time, as shown here:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("LayoutMain")
httpJob1.Initialize("httpJob1", Me)
End Sub
Sub VRec_Result (Success As Boolean, Texts As List)
'----------------------------------------------------------
' VRec_Result Event fired by voice recogition module
'----------------------------------------------------------
Dim url As String
If Success = True Then
url = "https://www.glosbe.com/de......."
httpJob1.Download(url)
End If
nd Sub
Private Sub JobDone(Job As HttpJob)
Dim TextReader1 As TextReader
If Job.Success = True Then
TextReader1.Initialize(Job.GetInputStream)
Log(TextReader1)
End If
End Sub
Whenever the code line "httpJob1.Download(url)" is executed I get this error message:
java.lang.NoSuchMethodError: No static method onStartCommand(Lanywheresoftware/b4a/BA
Z in class Lanywheresoftware/b4a/objects/ServiceHelper$StarterHelper; or its super classes (declaration of 'anywheresoftware.b4a.objects.ServiceHelper$StarterHelper' appears in /data/app/b4a.parrot-2/base.apk)
So, I am getting crazy since I used this code several times in other app never keeping any issues. What is going wrong here???