Android how to check if the intent service is still running or has stopped running

I need to know if all intentservices in the queue are “consumed” or the other way is to find out if it is still doing something so that I don’t continue until all services have stopped running. Any ideas?

  • How do I parse JSON from a Java HTTPResponse?
  • Getting Parent ViewPager View from inside Fragment
  • A way to get catch double tap in lock screen android?
  • Android and Symbian NFC mobile development questions and answers (FAQ)
  • How to implement .get feature with FutureTask or BackgroundTask using android?
  • phonegap build not showing splashscreen
  • Related posts:

    Android image view matrix scale + translate
    Keep broadcast receiver running after application is closed
    TYPE_TOAST alternative that will not request permission?
    Android XML layout files and namespace
    How to add “Go Back” function in WebView inside Fragment?
    Android - SearchView in toolbar not expanding
  • How to put GridView inside ScrollView
  • how to split mp3 file using java
  • Android Dynamic Array ListPreference
  • How to get the offset of a view inside a ScrollView?
  • Is there any difference between getLayoutInflater() and .getSystemService(Context.LAYOUT_INFLATER_SERVICE)
  • Robolectric 3.0 InflateException with a map custom fragment
  • One Solution collect form web for “Android how to check if the intent service is still running or has stopped running”

    Try this may be useful for u

    private boolean isMyServiceRunning() {
        ActivityManager manager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
        for (RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
            if ("com.example.MyService".equals(service.service.getClassName())) {
                return true;
        return false;
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.