android – How to access Running Services screen programmatically?-ThrowExceptions

Exception or error:

I am unable to find a way to access the Running Services screen which we normally access using:

Menu -> Setting -> Applications -> Running Services

As per some programmers its impossible and even i did not get anything after searching for few days on internet but few apps like Advance task killer and Advance task manager easily accessing this screen by one click from their apps.

How to solve:

There is no intent for that in android settings code. Check the code below.

<activity android:name="RunningServices"
              android:label="@string/runningservices_settings_title"
              android:clearTaskOnLaunch="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.MONKEY" />
            <category android:name="android.intent.category.VOICE_LAUNCH" />
            <category android:name="com.android.settings.SHORTCUT" />
        </intent-filter>
    </activity>

As commonsware said in other thread, the closet is manage application intent. Are you sure the third party apps does it. If so what is the name of the app ? I think they get the running services via package manager and then create a UI similar to that.

###

Maybe this is what you search for?

http://developer.android.com/reference/android/app/ActivityManager.html#getRunningServices%28int%29

###

Here is solution for this question

Click Here

Leave a Reply

Your email address will not be published. Required fields are marked *