Hi to every one.
I'm developing an app on a Samsung Galaxy J7 with Android 6.0.1 with out any issues from the RDC, but for additional testing I'm using a Motorola G2 with Android 6.0 and a Xperia XA with Android 6.0 and when I try to use the RDC it gives an error.
B4A version 6.80
The Code segment:
The Tag is "IdentificaMe" is defined in JobDone Sub
The Logs window :
** Service (httputils2service) Create **
** Service (httputils2service) Start **
dbrequestmanager_handlejob (java line: 273)
java.io.EOFException
at libcore.io.Streams.readFully(Streams.java:83)
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:209)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:106)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:88)
at anywheresoftware.b4a.randomaccessfile.CompressedStreams.getInputStream(CompressedStreams.java:142)
at anywheresoftware.b4a.randomaccessfile.CompressedStreams.WrapInputStream(CompressedStreams.java:97)
at b4a.siidex7.dbrequestmanager._handlejob(dbrequestmanager.java:273)
at b4a.siidex7.subearchivosbachi._jobdone(subearchivosbachi.java:1005)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:179)
at anywheresoftware.b4a.keywords.Common$5.run(Common.java:996)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
Any ideas ?
Thanks in advance.
I'm developing an app on a Samsung Galaxy J7 with Android 6.0.1 with out any issues from the RDC, but for additional testing I'm using a Motorola G2 with Android 6.0 and a Xperia XA with Android 6.0 and when I try to use the RDC it gives an error.
B4A version 6.80
The Code segment:
B4X:
Sub Identificame()
Dim Commands As List
Dim lVersion As String
'.................................................
If Starter.mUsuario.Trim = "" Then
ToastMessageShow("No hay Usuario registrado!!"& CRLF &"Sal de ésta pantalla y"& CRLF & "Vuelve a Ingresar a la Aplicación!!", False)
Return
End If
If Starter.mUsuarioSubeConsecutivo = 0 Then
Starter.mUsuarioSubeConsecutivo = 1
End If
Commands.Initialize
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "identifica_usuario"
Log("A subir: Identificame")
'Nuevos parametros para saber la version de la App
cmd.Parameters = Array As Object( Starter.mUsuario, DateTime.Date(DateTime.Now), Starter.mUsuarioSubeConsecutivo, lVersion )
reqManager.ExecuteCommand( cmd, "IdentificaMe")
End Sub
The Tag is "IdentificaMe" is defined in JobDone Sub
The Logs window :
** Service (httputils2service) Create **
** Service (httputils2service) Start **
dbrequestmanager_handlejob (java line: 273)
java.io.EOFException
at libcore.io.Streams.readFully(Streams.java:83)
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:209)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:106)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:88)
at anywheresoftware.b4a.randomaccessfile.CompressedStreams.getInputStream(CompressedStreams.java:142)
at anywheresoftware.b4a.randomaccessfile.CompressedStreams.WrapInputStream(CompressedStreams.java:97)
at b4a.siidex7.dbrequestmanager._handlejob(dbrequestmanager.java:273)
at b4a.siidex7.subearchivosbachi._jobdone(subearchivosbachi.java:1005)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:179)
at anywheresoftware.b4a.keywords.Common$5.run(Common.java:996)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
Any ideas ?
Thanks in advance.