资源简介
代码片段和文件信息
/*
* 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 android.view.accessibility.AccessibilityWindowInfo;
import com.android.internal.os.HandlerCaller;
import java.util.List;
/**
* 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 onl
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 32555 2014-12-15 18:20 android-21\android\accessibilityservice\AccessibilityService.java
文件 39935 2014-12-15 18:20 android-21\android\accessibilityservice\AccessibilityServiceInfo.java
文件 27026 2014-12-15 18:20 android-21\android\accounts\AbstractAccountAuthenticator.java
文件 2574 2014-12-15 18:20 android-21\android\accounts\Account.java
文件 1430 2014-12-15 18:20 android-21\android\accounts\AccountAndUser.java
文件 3350 2014-12-15 18:20 android-21\android\accounts\AccountAuthenticatorActivity.java
文件 3260 2014-12-15 18:20 android-21\android\accounts\AccountAuthenticatorResponse.java
文件 107173 2014-12-15 18:20 android-21\android\accounts\AccountManager.java
文件 739 2014-12-15 18:20 android-21\android\accounts\AccountManagerCallback.java
文件 5801 2014-12-15 18:20 android-21\android\accounts\AccountManagerFuture.java
文件 2283 2014-12-15 18:20 android-21\android\accounts\AccountManagerResponse.java
文件 1010 2014-12-15 18:20 android-21\android\accounts\AccountsException.java
文件 5142 2014-12-15 18:20 android-21\android\accounts\AuthenticatorDesc
文件 1044 2014-12-15 18:20 android-21\android\accounts\AuthenticatorException.java
文件 1262 2014-12-15 18:20 android-21\android\accounts\CantAddAccountActivity.java
文件 6767 2014-12-15 18:20 android-21\android\accounts\ChooseAccountActivity.java
文件 7995 2014-12-15 18:20 android-21\android\accounts\ChooseAccountTypeActivity.java
文件 24850 2014-12-15 18:20 android-21\android\accounts\ChooseTypeAndAccountActivity.java
文件 7714 2014-12-15 18:20 android-21\android\accounts\GrantCredentialsPermissionActivity.java
文件 1037 2014-12-15 18:20 android-21\android\accounts\NetworkErrorException.java
文件 979 2014-12-15 18:20 android-21\android\accounts\OnAccountsUpdateListener.java
文件 1063 2014-12-15 18:20 android-21\android\accounts\OperationCanceledException.java
文件 3906 2014-12-15 18:20 android-21\android\alsa\AlsaCardsParser.java
文件 9395 2014-12-15 18:20 android-21\android\alsa\AlsaDevicesParser.java
文件 1728 2014-12-15 18:20 android-21\android\alsa\LineTokenizer.java
文件 6413 2014-12-15 18:20 android-21\android\animation\AnimationThread.java
文件 17522 2014-12-15 18:20 android-21\android\animation\Animator.java
文件 26349 2014-12-15 18:20 android-21\android\animation\AnimatorInflater.java
文件 1765 2014-12-15 18:20 android-21\android\animation\AnimatorListenerAdapter.java
文件 49241 2014-12-15 18:20 android-21\android\animation\AnimatorSet.java
............此处省略10955个文件信息
相关资源
- ArcGIS for Android定位、放大缩小功能
- 网上商城完整源码.rar
- IxChariot6.70+Endpoint7.30(Windows+Ubuntu+An
- GitHub上最火的40个Android开源项目源码
- Android开发精要-epub、pdf、mobi打包多种
- mips64el-linux-android-4.9
- android studio build-tools 23.0.2
- ArcGIS Runtime SDK for Android v10.2.3
- crazy_android.7z
- 深入理解Android(卷2)(带全目录完整
- Struts2SpringHibernate整合一个HelloWorld版的
- Android框架揭秘.pdf
- java后台管理系统SpringMVC源码
- Android studio BLE通信助手工程文件+apk
- 百度地图Demo Android Studio版
- pc远控android开源项目
- Android studio百度地图
- WeChat.rar
- Java Web 商城源码
- Android课程设计-记账本
- jsp+ssm+mysql在线考试系统包含源码 数据
- PHP Web和Android开发入门与实践 pdf
- Android网络开发技术实战详解 完整版
- Android_课件及源码
- Android项目 - 简易音乐播放器
- android简单的登录注册,sqlite
- 慕淘旅游APP
- java ssm汽车维修管理系统源码 4s店管理
- Android 智能语音机器人demo.zip
- Android项目源码高仿知乎androidstudio版本
评论
共有 条评论