Android Question Shared code between B4i and B4A using HttpJob

Alberto Iglesias

Well-Known Member
Licensed User
In the process to share my code between this platforms, I have to know what's the best practice to
create some method on a function on Code Module or b4xLib to use httpJob or other process to download, like this

Dim j As HttpJob
j.Initialize("", Me)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
End If
in Code Module we can't use "me" to receive the response, I'm thinking in use b4xlib, or have another best practice to create this???

thank you