安卓4.3.zip源码_android-18.zip


用于eclipse关联安卓源码文档,开发时显示相关提示,提升开发效率 不用解压,关联时直接选择android-18.zip文件即可 参考(不同的是一个选择文件,一个选择文件夹): http://jingyan.baidu.com/article/acf728fd2476e2f8e410a35a.html
资源截图
代码片段和文件信息
/*
 * 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-18android
     目录           0  2015-04-29 19:17  android-18androidaccessibilityservice
     文件       27947  2015-04-16 01:19  android-18androidaccessibilityserviceAccessibilityService.java
     文件       36230  2015-04-16 01:19  android-18androidaccessibilityserviceAccessibilityServiceInfo.java
     目录           0  2015-04-29 19:17  android-18androidaccounts
     文件       27026  2015-04-16 01:19  android-18androidaccountsAbstractAccountAuthenticator.java
     文件        2574  2015-04-16 01:19  android-18androidaccountsAccount.java
     文件        1430  2015-04-16 01:19  android-18androidaccountsAccountAndUser.java
     文件        3381  2015-04-16 01:19  android-18androidaccountsAccountAuthenticatorActivity.java
     文件        3260  2015-04-16 01:19  android-18androidaccountsAccountAuthenticatorResponse.java
     文件       99982  2015-04-16 01:19  android-18androidaccountsAccountManager.java
     文件         739  2015-04-16 01:19  android-18androidaccountsAccountManagerCallback.java
     文件        5847  2015-04-16 01:19  android-18androidaccountsAccountManagerFuture.java
     文件        2283  2015-04-16 01:19  android-18androidaccountsAccountManagerResponse.java
     文件        1010  2015-04-16 01:19  android-18androidaccountsAccountsException.java
     文件        5142  2015-04-16 01:19  android-18androidaccountsAuthenticatorDescription.java
     文件        1044  2015-04-16 01:19  android-18androidaccountsAuthenticatorException.java
     文件        1175  2015-04-16 01:19  android-18androidaccountsCantAddAccountActivity.java
     文件        6782  2015-04-16 01:19  android-18androidaccountsChooseAccountActivity.java
     文件        8010  2015-04-16 01:19  android-18androidaccountsChooseAccountTypeActivity.java
     文件       24556  2015-04-16 01:19  android-18androidaccountsChooseTypeAndAccountActivity.java
     文件        7796  2015-04-16 01:19  android-18androidaccountsGrantCredentialsPermissionActivity.java
     文件        1037  2015-04-16 01:19  android-18androidaccountsNetworkErrorException.java
     文件         979  2015-04-16 01:19  android-18androidaccountsOnAccountsUpdateListener.java
     文件        1063  2015-04-16 01:19  android-18androidaccountsOperationCanceledException.java
     目录           0  2015-04-29 19:17  android-18androidanimation
     文件        6413  2015-04-16 01:19  android-18androidanimationAnimationThread.java
     文件       10452  2015-04-16 01:19  android-18androidanimationAnimator.java
     文件       12043  2015-04-16 01:19  android-18androidanimationAnimatorInflater.java
     文件        1499  2015-04-16 01:19  android-18androidanimationAnimatorListenerAdapter.java
............此处省略8177个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)