B4J Question [Solved]PostString in B4x

D

Deleted member 103

Guest
Hi,

I converted a B4a app to B4i app in a month, there were a few problems as usual, but they were quickly resolved.
Now I've been trying to convert the same app to B4j for 2 months, unfortunately I get new problems every day.

The next problem is this code:
B4X:
    PHPFile = "http://www.myHomepage/file.php"
    
    Dim job1 As HttpJob
    job1.Initialize("1", Me)
    job1.PostString(PHPFile & "?select=true","SELECT " & Products & " FROM AppPreise WHERE Package='myPakagename'")
    Wait For (job1) JobDone(job1 As HttpJob)
    If job1.Success Then
        ...
    end if
This code always works in B4a and B4i, in B4j only in debug mode, why?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…