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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:30:52+00:00 2026-06-15T21:30:52+00:00

i have completed a project successfully, the problem was when the user hit simultaneously

  • 0

i have completed a project successfully, the problem was when the user hit simultaneously 2 or more buttons the app get crashes, also when app fetches data from service that time when user hits other widget it get force close.

the error log such as..

12-13 12:42:03.763: W/webcore(576): java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.
12-13 12:44:52.284: E/AndroidRuntime(665):  at android.os.Looper.loop(Looper.java:137)
12-13 12:44:52.284: E/AndroidRuntime(665):  at android.app.ActivityThread.main(ActivityThread.java:4340)
12-13 12:44:52.284: E/AndroidRuntime(665):  at java.lang.reflect.Method.invokeNative(Native Method)
12-13 12:44:52.284: E/AndroidRuntime(665):  at java.lang.reflect.Method.invoke(Method.java:511)
12-13 12:44:52.284: E/AndroidRuntime(665):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-13 12:44:52.284: E/AndroidRuntime(665):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 

is there any possible way to put the request queue in android code?

how i handle force close in android app?

thank you.

  • 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-15T21:30:53+00:00Added an answer on June 15, 2026 at 9:30 pm

    if you don’t want to make more change in your code then just use a flag to check is server request is currently executing or completed as:

    public static boolean status=true;
        getdatabuttn.setOnClickListener(new OnClickListener()
        {
            public void onClick(View v)
            {
                       // check flag here before makeing 
                       //new request to server
                       if(status==true){
                          status=false;
                          // get data here
                             getDatafromServer();
                        }
                       else{
                        // show message already downloading data from server
                        }
            }
             });
    

    your get data method for making data request to server

    public void getDatafromServer(){
    
    //your code here for getting data
    //....
    
    // after getting data change flag
    status=true;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have just completed implementing a successful but problematic project. We want to get
I have successfully configured my project for build in TeamCity. Going a step more,
I have completed a simple database for a project. Only 6tables. Of the 6,
I have just completed an application for my final year project and I need
I have a university project which is already 99% completed. It consists of two
Thanks to Stack Overflow and you guys i successfully completed my first project (viz.
I've completed my implementation of my first OpenRasta RESTful webservice and have successfully got
I have completed a project on WPF? I wanted to know which are the
I have just installed South (0.7.3, python-2.6) and successfully completed the tutorial using the
I have a project that I've been using proguard with successfully for a long

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.