Skip to content

Small webserver based on nanoHTTP wich starts if you boot the phone. Serves only small amount of information.

License

Notifications You must be signed in to change notification settings

Roemke/AndroidServerJSON

Repository files navigation

Version 0

Small Server based on nanoHTTPD

Service is started on startup of phone.

Server is listening on port 8080. If you access like http://localost/ you get a small webpage with some information.

If you access http://localhost/getJSON you get a json string with two informations: phone battery isCharging and phone battery level

used to access from pebble js to get information of battery level on android phone.

maybe buggy, cause I'm new to android and java programming is 15 years ago ...

nevertheless maybe useful for somebody

About

Small webserver based on nanoHTTP wich starts if you boot the phone. Serves only small amount of information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages