K kalarius Active Member Licensed User Longtime User Jun 22, 2016 #1 at the internet explorer I write http://www.myservername.gr/sms/sms.aps?&username=myname&pass=mypass&Ballance this return the balance at the web page a) how can i sent this to the server with B4A b) How can i get the answer to label or to a textbox with B4A? is there any example?
at the internet explorer I write http://www.myservername.gr/sms/sms.aps?&username=myname&pass=mypass&Ballance this return the balance at the web page a) how can i sent this to the server with B4A b) How can i get the answer to label or to a textbox with B4A? is there any example?
G gerredtor Active Member Licensed User Jun 22, 2016 #2 Use httpUtils: B4X: Dim hj As HttpJob hj.Initialize("hj", Me) hj.Download("URL") and: B4X: Sub JobDone (Job As HttpJob) If Job.Success Then yourstring = Job.getString End if End Sub Upvote 0
Use httpUtils: B4X: Dim hj As HttpJob hj.Initialize("hj", Me) hj.Download("URL") and: B4X: Sub JobDone (Job As HttpJob) If Job.Success Then yourstring = Job.getString End if End Sub
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2016 #3 Don't forget to call Job.Release at the end. Upvote 0