Hi All,
Newbie question. On device #1 I am writing variables to an HTML page using HTTPServer and everything is good (HTML below)
<html>
<body>
On a second device I want to connect to the first via a WiFi network using it’s IP address (http://192.168.2.105:5555) and get the $DEVICENAME$ var from the html. Question is how do I connect and how do I retrieve the data?
Thanks
Ray
Newbie question. On device #1 I am writing variables to an HTML page using HTTPServer and everything is good (HTML below)
<html>
<body>
B4X:
<html>
<body>
<!--<img style="width:200px;height:200px;" src="android.png">-->
<p><font size="7" face="Georgia, Arial" color="red">VariTrak</font></p>
<p>
Device Name: $DEVICENAME$<br/>
</p>
</body>
</html>
On a second device I want to connect to the first via a WiFi network using it’s IP address (http://192.168.2.105:5555) and get the $DEVICENAME$ var from the html. Question is how do I connect and how do I retrieve the data?
Thanks
Ray