Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
206 views

I’m working on an embedded Android TV project. I’m using NanoHTTPD as the web server. The server hosts a simple web page that can be accessed from a browser by entering the IP address of the TV. Here’...
Hilal Demir's user avatar
0 votes
0 answers
84 views

I am new to AOSP. NanoHttpd is implemented for web part of the project. I want to upload file from a Javascript page which is hosted on the Android device and then I want to get this uploaded file to ...
hexols's user avatar
  • 13
0 votes
1 answer
466 views

Hey all I am trying to POST some json data to my android app via Jquery AJAX and using NanoHTTPd as the web server. I can seem to call the correct url doing this: var reqData = JSON.stringify({"...
StealthRT's user avatar
  • 10.6k
0 votes
0 answers
98 views

I use EC2. So far I have been using Elastic IP to get a static IP. And I was able to bind the Htttp server to an AWS prepared domain like ec2-xx-xxx-xxx-xxx.ap-northeast-1.compute.amazonaws.com and ...
Tom Marvolo Riddle's user avatar
0 votes
0 answers
142 views

i am trying to play a youtube video in android through NanoHTTPD android web server library using a html form by providing the youtube id of some video in the served html file into the html form. So ...
evilcomputer12's user avatar
0 votes
0 answers
390 views

I am trying to build NanoHTTPD into my project. I didn't find a solution in the other "Cannot resolve symbol" question on StackOverflow so I am trying this here I am sorry. This is a pretty ...
Erwin109's user avatar
0 votes
1 answer
149 views

Hello i want to make a http server with nanohttpd that shows installed apps, and convert them to apk and download. I can list but how can i download the app i select List<ApplicationInfo> ...
jcooli's user avatar
  • 1
0 votes
0 answers
104 views

i need to develop an android app, a chat app, in which the two devices should be connected via wifi direct and share files via nanohttpd. can anyone share a guide for this ?
Shekhar Chauhan's user avatar
0 votes
1 answer
540 views

This question is not about how NanoHTTPD can deliver streaming content, or how it can leave the HTTP socket connection open after serving a page. I generate HTML very responsibly, with HTML.java, by ...
Phlip's user avatar
  • 5,350
1 vote
1 answer
2k views

I created an app that uses nanohttpd to set up a small http listener. To test this i need to be able to send post request to the webserver on the emulator from my host machine using postman. So that ...
Daniel Jørgensen's user avatar
1 vote
1 answer
388 views

Hy, i try to build a web server for android with local index.html but i don't get it to work. All examples i can find gives many different errors. I don't even find a solution to start a web server. ...
huby's user avatar
  • 43
0 votes
1 answer
257 views

I'm using NanoHTTPD as my app server and everything is working fine from IDE. When I'm running the same code form jar (which was generated with maven-assembly-plugin), the resources are not loaded. ...
Adi Ohana's user avatar
  • 957
0 votes
1 answer
1k views

I have an encrypted (128-AES-CTR-NoPadding) video residing on a server which I need to decrypt as it downloads, so that user can stream it (in normal players/web). I understand the components of this ...
RootZero's user avatar
0 votes
0 answers
1k views

I'm trying to zip up a bunch of image and csv files into a zip file on the server side and send it to the client in the browser to be downloaded. The zipfile works fine on the client side but the ...
lincredibleJC's user avatar
1 vote
0 answers
1k views

How to set up a basic HTTPS server with let's encrypt free certificate service? So far I followed let's encrypt setup on my CentOS 7 machine and got this nice output: Congratulations! Your ...
Ilya Gazman's user avatar
  • 32.5k
1 vote
1 answer
1k views

I am trying to create a local web server using NanoHTTPD on Android. I know how to use it for a single file doing something like: @Override public Response serve(IHTTPSession session) { String ...
Maurice Gaynor's user avatar
0 votes
2 answers
620 views

How can I enable GZIP compression in NanoHttpd? Java code (starts web server and returns the same default response for any request): package com.example; import java.io.*; import java.nio.charset....
rfg's user avatar
  • 1,636
8 votes
2 answers
554 views

I have a simple NanoHTTPD server running as a foreground service. I am facing issues in updating the notifications with new content when a new request to a server comes in. The foreground service ...
arjun's user avatar
  • 1,624
1 vote
1 answer
468 views

I'm trying to host an Angular app with nanohttpd, so I put the files into a dist/ folder inside the assets folder of the android app. Now I want to serve the angular files but I keep getting this kind ...
JCAguilera's user avatar
0 votes
1 answer
166 views

I've wrote simple hello-world http server app with nanohttpd: package name.antonsmirnov.apptogether.service.http; import fi.iki.elonen.NanoHTTPD; import org.slf4j.Logger; import org.slf4j....
4ntoine's user avatar
  • 20.6k
3 votes
1 answer
480 views

I am using the NanoHttpd library to set up a server. It is currently serving a 'Hello World' HTML page. It is accessible from the browser of the phone on which it is deployed but not on other phones ...
Umang Mathur's user avatar
5 votes
1 answer
3k views

I am using the nanohttpd server in my project. The GET Request should send a JSON file as response but nanohttpd only allows String. How can I do this? This is the GET method: class GetHandler{ ...
Pooja's user avatar
  • 97
2 votes
1 answer
759 views

I'm using NanoHTTPD's RouterNanoHTTPD to add route mappings. Calling addRoute(String uri, Class<?> handler, Object ... params) does not call the parameterized constructor to instantiate an ...
Crearo Rotar's user avatar
0 votes
0 answers
730 views

Using nanohttpd I can select a chosen file and start a server to serve that one file. Is it possible to serve a list of lot of files? That is, I have lot of files in sd card and I want to serve the ...
arjun's user avatar
  • 1,624
2 votes
1 answer
638 views

I build a webserver on my android device by NanoHttpd or ServerSocket and connect to this server from itself. It run good when device is online. But I can't receive request when device isn't online. I ...
Luc Le's user avatar
  • 196

1
2 3 4 5