Close

Serving a webpage on the drone

A project log for Flyver

Create Drone Apps

tihomir-nedevTihomir Nedev 04/01/2015 at 07:040 Comments

Flyver SDK allows you to serve a webpage directly from your smartphone.

To do so, you must put all your webpage files(.html, .css, .js, images) in the FlyverCore/src/main/assets/webpage/ folder(only plain files, folder structure is not supported for now) and the page will be served on the device's IP address. The files in this folder are deployed automatically with the .apk of the application

The HTTP server used for this is NanoHTTPD, which is subclassed in utils/java/co.flyver.utils/NanoHTTPDServer, which implements its serve method

Any questions? Ask in the comments below.

This article was originally posted on the Flyver Github

Discussions