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

  • Home
  • SEARCH
  • 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 8988887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:07:14+00:00 2026-06-15T22:07:14+00:00

I am in process of developing an network based UI app for Android which

  • 0

I am in process of developing an network based UI app for Android which would perform following kind of functionalities

  1. Needs to communicate with TCP servers running on n/w based embedded devices (>100 at a time).
  2. Polling these devices at regular intervals for fetching updated information
  3. Sending and receiving information from those devices
  4. All above information would be controlled and managed by application’s UI

Considering above situations, the app would probably have to spawn multiple thread’s for multiple connections and managing them.So my query is

  1. Is it good approach to develop the network module using Boost.Asio libraries ? Or it is okay to open upto 100 of socket threads for connectivity?

  2. If Boost.Asio is used, then network module would be developed seperately using NDK, to access JNI would come into place, which in turn could lead to slow response?

Alternatively, can there be other better options? Looking forward for your inputs!

Many 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-15T22:07:16+00:00Added an answer on June 15, 2026 at 10:07 pm

    I suggest taking a look at New I/O, which is supported on Android. Using it you can handle multiple connections in a single thread, the API is similar in principle to Posix select() call.

    If you decide to go for your second option (networking code implemented in C/C++) I don’t think you should be worried about JNI performance. Significant part of Android APIs is just a thin JNI wrapper on top of C/C++ anyway.

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

Sidebar

Related Questions

I'm developing a C++ application with process monitoring capabilities, which monitors state changes based
I'm developing a network app, which is group oriented. The thing is that when
We're in process of developing a desktop application which needs to record user's screen
I am in the process of developing an android app, and I need a
I am in the process of developing website and an app (iOS and Android)
we are in process of developing google chrome extension, in which we need to
We are in process of developing an Java based CMS related to travelling domain
I'm in the process of developing an iPhone app, and I'm running into a
I'm in the in the process of developing an application for a client, which
Currently I am in process of developing my android application. My requirement is something

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.