i have been searching on the forums and on google but can not really find a answer for our dev that dose the android apps for us... he has to create my windows app in android...
i use BitConverter in my app to read a game server to show information... i will post some of my windows vb.net code and could someone please helps us out on trying to use this code with android?
musers for example is is max users that can enter a server... i use the returnData with BitConverter to convert to readable Data.
Is there something in B4A that can do the same thing?
Thanks
Kev
i use BitConverter in my app to read a game server to show information... i will post some of my windows vb.net code and could someone please helps us out on trying to use this code with android?
B4X:
Dim returnData As String = Encoding.ASCII.GetString(data, 0, recv)
sname = returnData.ToCharArray(20, 20)
musers = BitConverter.ToInt32(data, 16)
users = BitConverter.ToInt32(data, 208)
port = BitConverter.ToInt16(data, 52)
Track = returnData.ToCharArray(69, 15)
wear = returnData.ToCharArray(131, 2)
real = returnData.ToCharArray(86, 10)
raceLen = returnData.ToCharArray(111, 7)
raceLenper = returnData.ToCharArray(106, 4)
passwd = BitConverter.ToInt16(data, 55)
flags = returnData.ToCharArray(98, 5)
musers for example is is max users that can enter a server... i use the returnData with BitConverter to convert to readable Data.
Is there something in B4A that can do the same thing?
Thanks
Kev