Android Question Webrequest for b4a

alvin1929

Member
I have this code in VB.net (windows)

B4X:
Imports System.Net
Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim request As WebRequest = WebRequest.Create("www.myurl.com/file.php?w=" & notes.Text)
        request.GetResponse()
    End Sub

I tried it in b4a but there's an error.

How can i convert that code to b4a?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

alvin1929

Member
What i am actually planning is to sendvalues from note.text to my server. It connects via file.php and will create a new .txt file in my server.
 
Upvote 0
Top