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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:02:28+00:00 2026-06-19T03:02:28+00:00

Why i am getting this error when i am calling Service E/ActivityManager(160): ANR in

  • 0

Why i am getting this error when i am calling Service

E/ActivityManager(160): ANR in com.colo
E/ActivityManager(160): Reason: Executing service com.colo/.services.PmService
E/ActivityManager(160): Load: 8.41 / 7.12 / 6.4
E/ActivityManager(160): CPU usage from 21836ms to -1ms ago:
E/ActivityManager(160):   2.2% 160/system_server: 1.3% user + 0.9% kernel / faults: 9 minor
E/ActivityManager(160):   1.9% 65/bma_wq: 0% user + 1.9% kernel
E/ActivityManager(160):   1.4% 28646/com.colors.pipemedia: 1.2% user + 0.1% kernel / faults: 285 minor 1 major
E/ActivityManager(160):   0.5% 27859/com.google.android.apps.maps:NetworkLocationService: 0.4%  
                    user + 0% kernel / faults: 280 minor 14 major
E/ActivityManager(160):   0.3% 18292/com.android.systemui: 0.3% user + 0% kernel / faults: 48 minor
E/ActivityManager(160):   0% 61/synaptics_wq: 0% user + 0% kernel
E/ActivityManager(160):   0.1% 144/adbd: 0% user + 0.1% kernel
E/ActivityManager(160):   0.1% 246/com.android.phone: 0.1% user + 0% kernel / faults: 1 minor
E/ActivityManager(160):   0% 62/check_ic_wq: 0% user + 0% kernel
E/ActivityManager(160):   0% 72/kondemand/0: 0% user + 0% kernel
E/ActivityManager(160):   0% 28602/logcat: 0% user + 0% kernel
E/ActivityManager(160):   0% 5/events/0: 0% user + 0% kernel
E/ActivityManager(160):   0% 58/file-storage: 0% user + 0% kernel
E/ActivityManager(160):   0% 90/rild: 0% user + 0% kernel
E/ActivityManager(160):   0% 237/com.hu1.wallpaper.forest: 0% user + 0% kernel / faults: 28 minor
E/ActivityManager(160):   0% 1276/com.google.process.gapps: 0% user + 0% kernel
E/ActivityManager(160):   0% 25919/flush-138:13: 0% user + 0% kernel
E/ActivityManager(160):   0% 26459/AR6K Async: 0% user + 0% kernel
E/ActivityManager(160):   0% 26461/ksdioirqd/mmc1: 0% user + 0% kernel
E/ActivityManager(160):   0% 26467/wpa_supplicant: 0% user + 0% kernel
E/ActivityManager(160):   0% 27702/com.wssyncmldm: 0% user + 0% kernel / faults: 9 inor
E/ActivityManager(160):   0% 28103/com.android.vending: 0% user + 0% kernel / faults: 1 minor
E/ActivityManager(160): 4.1% TOTAL: 2.8% user + 1.2% kernel
E/ActivityManager(160): CPU usage from 1156ms to 1691ms later:
E/ActivityManager(160):   43% 28646/com.colors.pipemedia: 31% user + 12% kernel / ults: 729 minor 2 major
E/ActivityManager(160):     14% 28649/GC: 12% user + 1.7% kernel
E/ActivityManager(160):     8.7% 28646/olors.pipemedia: 3.5% user + 5.2% kernel
E/ActivityManager(160):     5.2% 28652/Compiler: 3.5% user + 1.7% kernel
E/ActivityManager(160):    +0% 28674/Thread-28: 0% user + 0% kernel
E/ActivityManager(160):    +0% 28675/RefQueueWorker@: 0% user + 0% kernel
E/ActivityManager(160):   10% 160/system_server: 3.5% user + 7.1% kernel / faults: 4 minor
E/ActivityManager(160):     10% 176/ActivityManager: 3.5% user + 7.1% kernel
E/ActivityManager(160):   0.6% 22/kswapd0: 0% user + 0.6% kernel
E/ActivityManager(160):   1.8% 65/bma_wq: 0% user + 1.8% kernel
E/ActivityManager(160):   0.7% 72/kondemand/0: 0% user + 0.7%  kernel
E/ActivityManager(160):   0.8% 26461/ksdioirqd/mmc1: 0% user + 0.8% kernel
E/ActivityManager(160):   1% 28602/logcat: 1% user + 0% kernel
E/ActivityManager(160): 83% TOTAL: 35% user + 20% kernel + 26% iowait
E/(160): Dumpstate > /data/log/dumpstate_app_anr

i am calling service like this on button click.

final Intent pm_intent = new Intent(AccountsActivity.this , PmService.class);
pm_intent.putExtra("Key", "gtalk service*****");
pm_intent.putExtra("user_name", acc.getAcc_Name());
pm_intent.putExtra("user_pass", acc.getAcc_Pass());             
Thread t = new Thread(){
public void run(){
    startService(pm_intent);
    }
};
t.start();

i am stopping service like this on button click

final Intent gtalk_intent = new Intent(getActivity() , GtalkService.class);
Thread t = new Thread(){
    public void run(){
        getActivity().stopService(gtalk_intent);
    }
};
t.start();
  • 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-19T03:02:29+00:00Added an answer on June 19, 2026 at 3:02 am

    You’re getting an ANR, so you’re doing some processor intensive work on your UI thread.

    I see that you’re launching your Service in a new Thread. While this may look like the Service will start in a new Thread, it actually doesn’t. If you want to run the contents of the service in a new Thread, you must create the new Thread inside the Service, in onStartCommnand() or onCreate(). Try doing that.

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

Sidebar

Related Questions

I am getting this error when calling a web service method which writes to
I'm getting this error when calling a java web service. I'm using the same
Getting a VerifyError using the TweenMax lib when calling TweenMax.to . This error doesn't
Getting this error: 2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler
Getting the following thrown error when calling a web service. Have googled without any
I am getting the following error when calling my service; The maximum message size
I get no error when calling my WCF service methods except in one. This
I'm calling an asmx service repeatedly using the Async methods and am getting this
I'm getting the following error when calling a method on a C# service (connected
I keep getting a error:undefined message when calling this AJAX method. $.ajax({ type: GET,

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.