Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9079273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:47:59+00:00 2026-06-16T19:47:59+00:00

I have implemented HTTP server(handling GET. POST and DELETE requests) in Android using sockets.

  • 0

I have implemented HTTP server(handling GET. POST and DELETE requests) in Android using sockets. In order to make the server non-blocking, I saw there is

java.nio 

package http://developer.android.com/reference/java/nio/package-summary.html. However, the selector keys are accept, read or write. Is there any example link or tutorial of how will I implement non-blocking server using nio for each of the methods mentioned?

Note: Http Core cannot be used as Android does not support org.apache.http.nio.*

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:48:00+00:00Added an answer on June 16, 2026 at 7:48 pm

    http://www.integratingstuff.com/2011/10/24/adding-a-webserver-to-an-android-app/ gives an example of Android Web server and link http://hc.apache.org/httpcomponents-core-ga/httpcore/examples/org/apache/http/examples/ElementalHttpServer.java explains multi-threaded server. As the number of clients is only 10, I used threading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented my Server application regarding this post here: http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c8781#Client1 Sum up: I
I have implemented a really simple C# Http Server using HttpListener within a windows
I have implemented Responsive Slider on my test server: http://test-orange.com/resp/ If you watch the
I have an HTTP server implemented with Netty. It takes long-poll connections for pushing
I have implemented a client server jave program using TCP for an assignment. Now
I have implemented simple com.sun.net.httpserver.HttpServer application using one of examples in the internet. Server
On our server, we have implemented a means to get dynamic iCalendar feeds for
We have a http server which is implemented based on Java NIO. It is
I have a method, which connects to a HTTP server and requests via XMLRPC,
I implemented an http server using javascript and Node.js. for some reason when the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.