nanohttpd Questions
5
Solved
How can I retrieve the HTTP POST request body when implementing NanoHTTPDs serve method?
I've tried to use the getInputStream() method of IHTTPSession already, but I always get an SocketTimeoutExc...
6
Solved
I am trying to use NanoHTTP to serve up an HTML file. However, NanoHTTP is relatively un-documented, and I am new to Android. My question is, where do I store the html file, and how specifically ca...
4
I am trying to run an HTTPS Server on an Android device using NanoHttpd (my final goal is to run WSS server on Android). I successfully ran HTTP Server and Websocket using NanoHttpd on Android. I g...
2
Solved
I am trying to read the InputStream from IHTTPSession.getInputStream() using the following code but its gives Socket TimeOut Exception every time.
private String readInStream(InputStream in){
St...
Icono asked 24/7, 2014 at 10:40
2
Solved
I can't make nanohttpd work. It seems not be able to find the www directory in app's root.
My code is at https://github.com/tlkahn/neonx
My code at MainActivity.java:
@Override
protected void ...
3
Solved
I've written a small Android server using NanoHTTPD. It can serve an HTML file well (web page located at sdcard/www/index.html). Can anybody please help me find out how can I serve an audio or vide...
4
Actually ,I had searched some questions and go to the github. But I'm new ,I cannot understand the example.
I want to create the http server in android so I can access it in PC browser.
I had ins...
2
i'm using NanoHTTPD webserver 2.1.0 on a Java Desktop Env. (no Android)
Everything is working fine...but not the file upload using the POST method (PUT is not supported with forms)
Here is my HTM...
2
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...
Bolick asked 18/8, 2018 at 22:39
1
I have implemented nanohttpd server nano
My goal is to forward request to different domain based on condition i have.
My code is like this
package CreateServer;
import java.io.File;
import java.io...
2
I use NanoHTTPD as web server in my Android app.
I pass two file names from client browser to NanoHTTPD server, and I hope to download the two files at a time, but the following code only downloa...
2
I'm using NanoHTTPD to present a web server in an android app. I'm using a wifi lock to keep the network alive, and a CPU lock to keep the cpu awake, and keeping it running via a foreground service...
1
I've successfully achieved file transfer over local network using NanoHttpd. However, I'm unable to send the file name in NanoHttpd Response. The received files have a default name like this: local...
Unalienable asked 18/8, 2014 at 10:44
4
Solved
NanoHttpd server code can be found here.
I'm starting a new Thread in a service that uses NanoHttpd server to stream large videos (about 150mb) but it just pauses right while the loading dialog is ...
1
Solved
I am running NanoHttpd on 8080 on my local desktop. I can access the server locally in my browser at http://localhost:8080/. That part is working as expected.
However, I do not want my neighbor (o...
Sublet asked 7/2, 2014 at 16:40
1
I am running a Hello World example for java RMI
1) I run the registry in an empty folder
motta@motta-laptop ~/tmp $ rmiregistry
2) I start the HTTP server to retrieve the classes at runtime. T...
Blockage asked 27/5, 2013 at 9:4
0
I want to cache data while playing it in MediaPlayer. As I read, there is one way to do it - create own local http server and set local url to MediaPlayer's setDataSource(String path).
I am using ...
Selfpreservation asked 23/7, 2013 at 11:50
1
I use DDMS to get screenshots from my Android phone and I need an efficient way for converting them in video and streaming the video over the network.
I have a RawImage which is filled with the da...
1
I'm trying to develop an Android UPnP application that has an embedded http server in it, so it can serve media files from the device over lan.
The first implementacion of the web server that I us...
1
© 2022 - 2024 — McMap. All rights reserved.