Android Question Wrap Library With B4A (Help)

Salar82

Member
Hi

I Tried to wrap Some library by B4A.

I Want Add Some Code And Links "(copy)" in Library methods.
Like This:
Screenshot (26).png


How can I do it?
🤔
 

DonManfred

Expert
Licensed User
Is it possible to do this in B4A itself?
Sure

B4X:
'Submits a HTTP GET request.
'Encodes illegal parameter characters.
'<code>Example:
'job.Download2("http://www.example.com", _
'    Array As String("key1", "value1", "key2", "value2"))</code>
Public Sub Download2(Link As String, Parameters() As String)
    req.InitializeGet(escapeLink(Link, Parameters))
    CallSubDelayed2(HttpUtils2Service, "SubmitJob", Me)
End Sub
 
Top