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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:12:12+00:00 2026-06-01T02:12:12+00:00

In my application, I make a TCP/IP Socket Connection. I run this Application on

  • 0

In my application, I make a TCP/IP Socket Connection. I run this Application on a HTC incredible S. But it needs very long and after a little while a dialog shows up, which says that my application doesn’t react. The Dialog offers me the options to “force a closing” or to “wait”. Then I choose “wait” and everything works fine and my HTC is connected.

The dialog doesn’t appear when I test the application on a Motorola Zoom, because it is much faster.

My question is, if there is a way to force my phone to wait longer so that no dialog appears?

Thanks

  • 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-01T02:12:14+00:00Added an answer on June 1, 2026 at 2:12 am

    You should perform long operations on a background thread, and not on the UI (main) thread. Android provides some great solutions for it, where I think the most popular is AsyncTask.

    Great articles to read about it are Painless Threading, and Designing for Responsiveness, which might also help.

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

Sidebar

Related Questions

I want to add copy and paste to my application but make it available
I'm trying to make a simple server/application in Erlang. My server initialize a socket
I'm developing an application of multiple socket connections (a TCP alarm watcher). Currently, in
My goal is to make a simple TCP proxy application for my test lab.
I have been developing my first TCP/Socket based application with Apache Mina, it looks
Couldn't find anything about this topic. I have a Windows TCP C++ server application
In general, is it better to have a web application make lots of calls
I'm developing an application which make use of display lists offered by OpenGL. My
I am working on an ASP.NET application that make a lot of jquery and
I have been trying to test my application to make sure that all 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.