Sprache

AnrType Enum

Definition

public enum AnrType
type AnrType = 
Inheritance
AnrType

Fields

Name Value Description
Other 0

The ANR type is not one of the other defined types.

This is used as a default when the specific cause of the ANR is not known or does not fit into a more specific category

Android reference for android.app.AnrTypes.ANR_TYPE_OTHER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InputDispatchNoFocusedWindow 1

The app took too long to respond to an input event because no window was focused.

Android reference for android.app.AnrTypes.ANR_TYPE_INPUT_DISPATCH_NO_FOCUSED_WINDOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InputDispatch 2

The app took too long to respond to an input event.

Android reference for android.app.AnrTypes.ANR_TYPE_INPUT_DISPATCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BroadcastOfIntent 3

The app's broadcast receiver took too long to process the message.

Android reference for android.app.AnrTypes.ANR_TYPE_BROADCAST_OF_INTENT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

StartForegroundService 4

The foreground service took too long to start.

Android reference for android.app.AnrTypes.ANR_TYPE_START_FOREGROUND_SERVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ExecuteService 5

The app's service took too long to finish Service.onCreate and Service.onStartCommand / Service.onBind

Android reference for android.app.AnrTypes.ANR_TYPE_EXECUTE_SERVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ContentProviderNotResponding 6

The app's content provider took too long to respond.

Android reference for android.app.AnrTypes.ANR_TYPE_CONTENT_PROVIDER_NOT_RESPONDING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AppTriggered 7

The app itself due to its own internal logic or behavior has triggered an ANR.

Android reference for android.app.AnrTypes.ANR_TYPE_APP_TRIGGERED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ForegroundShortServiceTimeout 8

A foreground short service took too long to respond to Service.onTimeout.

Android reference for android.app.AnrTypes.ANR_TYPE_FOREGROUND_SHORT_SERVICE_TIMEOUT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

JobServiceStart 9

The job service took too long to start.

Android reference for android.app.AnrTypes.ANR_TYPE_JOB_SERVICE_START.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ApplicationStart 10

The app took too long to start up.

Android reference for android.app.AnrTypes.ANR_TYPE_APPLICATION_START.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to