This puzzles me.
This is my piece of code:
	
	
	
	
	
	
	
	
	
		  dim sf,txt as String
  sf="http://www.somesite.org/somefile.xml"
  
    Dim j As HttpJob
    j.Initialize("", Me)
    j.Download(sf)
  
    Wait For (j) JobDone(j As HttpJob)
      
    If j.Success Then
        txt=j.GetString
    j.Release
    ....
    do something with txt
    ....
    Else
        Msgbox("Comm. problem","error")
        j.Release
        Return
End If
	 
	
	
		
	
 
On an older machine (please don't laugh) Galaxy S4 android 4.4.2 it works like charm.
BUT on Galaxy S20 android 10 I get the comm. problem msg.
log says:
	
	
	
	
	
	
	
	
	
		ResponseError. Reason: java.net.UnknownServiceException: CLEARTEXT communication to www.somesite.org not permitted by network security policy, Response:
	 
	
	
		
	
 
It is probably some setting on the device but which one? (or is it something else?)