Can u please provide source code for the following
1. File transfer through TCP/IP
2. String transfer through TCP/IP
I successfully connected Mobile and computer through wifi
by
Socket1.Connect("192.168.1.3" , 8000, 20000)
when I try to send a data "abc" I got error message "java.lung.nullexception"
here I copied my commands
Dim OutputStream1 As OutputStream
Dim buffer(10) As Byte
Dim abc As String = "abc"
buffer=Conv.StringToBytes(abc,"UTF8")
OutputStream1.WriteBytes(buffer,0,buffer.Length)
I am very new in this platform. Can u please provide good method to transfer file and data
Thanks in advance
1. File transfer through TCP/IP
2. String transfer through TCP/IP
I successfully connected Mobile and computer through wifi
by
Socket1.Connect("192.168.1.3" , 8000, 20000)
when I try to send a data "abc" I got error message "java.lung.nullexception"
here I copied my commands
Dim OutputStream1 As OutputStream
Dim buffer(10) As Byte
Dim abc As String = "abc"
buffer=Conv.StringToBytes(abc,"UTF8")
OutputStream1.WriteBytes(buffer,0,buffer.Length)
I am very new in this platform. Can u please provide good method to transfer file and data
Thanks in advance