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 7613541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:10:49+00:00 2026-05-31T02:10:49+00:00

I am connecting my android client emulator to server(Servlet). The output stream is working

  • 0

I am connecting my android client emulator to server(Servlet). The output stream is working fine. Server is printing the message sent from client. Server is sending response successfully. But the android input connection is passive. Here the error shown in logcat

showStatusIcon on inactive InputConnection

What is the problem?

I am sorry showStatusIcon on inactive InputConnection is not an error.logcat shows this even if the app is working fine.

Its a strange situation. From class A I am going to class C and from class C i am able to connect to server and get the response back. But If i go to class C from Class B, I am only able to send the request from C to server but I am unable to get response from the server. Server is working all fine.
Class A to C to server(request and response both) works fine when class A does not open any connection with the server itself.
But Class A to C to server(only request) works if the class A itself first opens a connection to the server and based on the response moves to class C.

This is what I was able to find out after lot of trial and error.

  • 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-05-31T02:10:51+00:00Added an answer on May 31, 2026 at 2:10 am

    Such problems occur when the input connection in the previous page(or class) has not been closed. Check whether you’ve closed the input connection in the previous class
    (by giving connection.close()).

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

Sidebar

Related Questions

I am using URLConnection Object to send data from my android client to server.
I am making a connection from Android client to Servlet using url connection. I
Android client sends string to server. Server will acknowledge a connection from device, and
I've implement simple udp server on my Android device.(sdk 1.5) it works fine when
I am currently developing android XMPP client to communicate with the Tigase server setup
I am making a Client Server application for my Android phone. I have created
Possible Duplicate: Sending and Parsing JSON in Android I am fetching JSON Data from
I have a client on Android and server on c#. The client sends messages
I'm having trouble getting a socket connection between Android(client) and a c# app(server) to
I am creating twitter client for android using twitter 4j,Oauth protocol.when i am connecting

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.