Android Question problem with GET command on some android

tmtube73

Active Member
Licensed User
hello everyone I added the following line in the B4A MANIFEST file

CreateResourceFromFile (Macro, Core.NetworkClearText)

then in the code I execute these instructions:

Sub MiaSub (As String version, As String number)
Dim job1 As HttpJob
job1.Initialize ("Job1", Me)
job1.Download ("http://mypublicaddress: port/COM=REQ_VER,VAL=" & version & ",GUID=" & number & ",%20%20HTTP/1.1")
job1.GetRequest.SetHeader ("User-Agent", "Mozilla / 5.0 (Windows NT 6.1; WOW64; rv: 27.0) Gecko / 20100101 Firefox / 27.0")
End Sub

on an android phone version 9 it works fine

while on other android version 9 but different build or on android 6 the app does not respond and is closed abnormally

anyone with any idea what the problem might be?

thank you.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. Please use [code]code here...[/code] tags when posting code.
2. Where is the Wait For line?

and is closed abnormally
There must be an error message in the logs when it happens. You need to find it.
 
Upvote 0
Top