Icon

Web Server

Version 1.0

by DroidScript

This template provides a starting point for turning your Android device into a web server and also demonstrates the use of WebSockets for efficient, fast and bi-directional communication between client browsers and this server.

You can serve up web pages by placing them in a folder on your phone/tablet's internal sdcard and you must set that folder in the serv.SetFolder() method.

The "Upload" and "ListDir" options on the serv.CreateWebServer() method enable clients to browse the internal sdcard of your device and upload/download files.

Note: You can also create web servers inside a DroidScript service.

Category
Demos
Type
spk
Last Update
3 years ago
Created
3 years ago