资源简介
代码片段和文件信息
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.accessibilityservice;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.os.Looper;
import android.os.Message;
import android.os.RemoteException;
import android.util.Log;
import android.view.KeyEvent;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityInteractionClient;
import android.view.accessibility.AccessibilityNodeInfo;
import com.android.internal.os.HandlerCaller;
/**
* An accessibility service runs in the background and receives callbacks by the system
* when {@link AccessibilityEvent}s are fired. Such events denote some state transition
* in the user interface for example the focus has changed a button has been clicked
* etc. Such a service can optionally request the capability for querying the content
* of the active window. Development of an accessibility service requires extending this
* class and implementing its abstract methods.
*
*
* Developer Guides
* For more information about creating AccessibilityServices read the
* Accessibility
* developer guide.
*
*
* Lifecycle
*
* The lifecycle of an accessibility service is managed exclusively by the system and
* follows the established service life cycle. Additionally starting or stopping an
* accessibility service is triggered exclusively by an explicit user action through
* enabling or disabling it in the device settings. After the system binds to a service it
* calls {@link AccessibilityService#onServiceConnected()}. This method can be
* overriden by clients that want to perform post binding setup.
*
* Declaration
*
* An accessibility is declared as any other service in an AndroidManifest.xml but it
* must also specify that it handles the “android.accessibilityservice.AccessibilityService“
* {@link android.content.Intent}. Failure to declare this intent will cause the system to
* ignore the accessibility service. Additionally an accessibility service must request the
* {@link android.Manifest.permission#BIND_ACCESSIBILITY_SERVICE} permission to ensure
* that only the system
* can bind to it. Failure to declare this intent will cause the syste
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-04-29 19:17 android-18\
目录 0 2015-04-29 19:17 android-18\android\
目录 0 2015-04-29 19:17 android-18\android\accessibilityservice\
文件 27947 2015-04-16 01:19 android-18\android\accessibilityservice\AccessibilityService.java
文件 36230 2015-04-16 01:19 android-18\android\accessibilityservice\AccessibilityServiceInfo.java
目录 0 2015-04-29 19:17 android-18\android\accounts\
文件 27026 2015-04-16 01:19 android-18\android\accounts\AbstractAccountAuthenticator.java
文件 2574 2015-04-16 01:19 android-18\android\accounts\Account.java
文件 1430 2015-04-16 01:19 android-18\android\accounts\AccountAndUser.java
文件 3381 2015-04-16 01:19 android-18\android\accounts\AccountAuthenticatorActivity.java
文件 3260 2015-04-16 01:19 android-18\android\accounts\AccountAuthenticatorResponse.java
文件 99982 2015-04-16 01:19 android-18\android\accounts\AccountManager.java
文件 739 2015-04-16 01:19 android-18\android\accounts\AccountManagerCallback.java
文件 5847 2015-04-16 01:19 android-18\android\accounts\AccountManagerFuture.java
文件 2283 2015-04-16 01:19 android-18\android\accounts\AccountManagerResponse.java
文件 1010 2015-04-16 01:19 android-18\android\accounts\AccountsException.java
文件 5142 2015-04-16 01:19 android-18\android\accounts\AuthenticatorDesc
文件 1044 2015-04-16 01:19 android-18\android\accounts\AuthenticatorException.java
文件 1175 2015-04-16 01:19 android-18\android\accounts\CantAddAccountActivity.java
文件 6782 2015-04-16 01:19 android-18\android\accounts\ChooseAccountActivity.java
文件 8010 2015-04-16 01:19 android-18\android\accounts\ChooseAccountTypeActivity.java
文件 24556 2015-04-16 01:19 android-18\android\accounts\ChooseTypeAndAccountActivity.java
文件 7796 2015-04-16 01:19 android-18\android\accounts\GrantCredentialsPermissionActivity.java
文件 1037 2015-04-16 01:19 android-18\android\accounts\NetworkErrorException.java
文件 979 2015-04-16 01:19 android-18\android\accounts\OnAccountsUpdateListener.java
文件 1063 2015-04-16 01:19 android-18\android\accounts\OperationCanceledException.java
目录 0 2015-04-29 19:17 android-18\android\animation\
文件 6413 2015-04-16 01:19 android-18\android\animation\AnimationThread.java
文件 10452 2015-04-16 01:19 android-18\android\animation\Animator.java
文件 12043 2015-04-16 01:19 android-18\android\animation\AnimatorInflater.java
文件 1499 2015-04-16 01:19 android-18\android\animation\AnimatorListenerAdapter.java
............此处省略8177个文件信息
相关资源
- poi解析jsp上传的excel文件并导入mysql支
- 使用JSP+jqueryUI+java Servlet通过Apache PO
- ADT-22.6.2.zip
- javaWeb导入Excel分析后添加到数据库
- hadoop-eclipse-plugin-2.8.5.jar
- eclipse Activiti插件+
- 百度语音识别android集成(eclipse)
- visual class
- axis2-eclipse-codegen-plugin-1.6.2.zip和axis2
- 中文javadoc1.8
- U8 BOM导入工具
- Android游戏源码功能完善的看图猜答案
- Android项目源码蚌埠掌上校园学生项目
- activiti-designer-5.18.0Eclipse插件离线安装
- hadoop-eclipse-plugin-3.1.2.jar
- java实现导入导出Excel表
- hadoop-eclipse-plugin-2.9.2.jar 插件
- hadoop-eclipse-plugin-2.7.7.jar 插件
- PyDev4.5 对应Jdk7
- Java.EE.Development.with.Eclipse.2nd.Edition.1
- 《Java开发利器Myeclipse全面详解》PDF
- 人力资源管理系统源码+SQL文件javawe
- Eclipse的SVN插件site-1.10.13-1.9.x.zip
- eclipse-java-2020-06-R-win32-x86_64.zip
- eclipse-SDK-3.7.2-win32
- 基于JavaWeb的网上购物系统的设计与实
- eclipse-java-mars-2-win32-x86_64
- AndroidStudio导入并使用讯飞语音听写
- eclipse jsp 旅游网站源码 +数据库
- hadoop-eclipse-plugin-2.7.3.jar
评论
共有 条评论