资源简介

代码片段和文件信息
/*
* Copyright (C) 2007 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.app;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.RemoteException;
import android.os.WorkSource;
/**
* This class provides access to the system alarm services. These allow you
* to schedule your application to be run at some point in the future. When
* an alarm goes off the {@link Intent} that had been registered for it
* is broadcast by the system automatically starting the target application
* if it is not already running. Registered alarms are retained while the
* device is asleep (and can optionally wake the device up if they go off
* during that time) but will be cleared if it is turned off and rebooted.
*
* The Alarm Manager holds a CPU wake lock as long as the alarm receiver‘s
* onReceive() method is executing. This guarantees that the phone will not sleep
* until you have finished handling the broadcast. Once onReceive() returns the
* Alarm Manager releases this wake lock. This means that the phone will in some
* cases sleep as soon as your onReceive() method completes. If your alarm receiver
* called {@link android.content.Context#startService Context.startService()} it
* is possible that the phone will sleep before the requested service is launched.
* To prevent this your BroadcastReceiver and Service will need to implement a
* separate wake lock policy to ensure that the phone continues running until the
* service becomes available.
*
* Note: The Alarm Manager is intended for cases where you want to have
* your application code run at a specific time even if your application is
* not currently running. For normal timing operations (ticks timeouts
* etc) it is easier and much more efficient to use
* {@link android.os.Handler}.
*
*
Note: Beginning with API 19
* ({@link android.os.Build.VERSION_CODES#KITKAT}) alarm delivery is inexact:
* the OS will shift alarms in order to minimize wakeups and battery use. There are
* new APIs to support applications which need strict delivery guarantees; see
* {@link #setWindow(int long long PendingIntent)} and
* {@link #setExact(int long PendingIntent)}. Applications whose {@code targetSdkVersion}
* is earlier than API 19 will continue to see the previous behavior in which all
* alarms are delivered exactly when r
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 23509 2015-08-28 15:26 fr
文件 1369 2015-08-28 15:26 fr
文件 257427 2015-08-28 15:26 fr
文件 69596 2015-08-28 15:26 fr
文件 21636 2015-08-28 15:26 fr
文件 3816 2015-08-28 15:26 fr
文件 11244 2015-08-28 15:26 kernel\drivers\staging\android\alarm-dev.c
文件 2262 2015-08-28 15:26 kernel\drivers\staging\android\uapi\android_alarm.h
文件 2930 2015-08-28 15:26 bionic\libc\kernel\common\linux\android_alarm.h
目录 0 2018-04-14 11:41 fr
目录 0 2018-04-14 11:41 fr
目录 0 2018-04-14 11:41 fr
目录 0 2018-04-14 11:41 fr
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 fr
目录 0 2018-04-14 11:41 kernel\drivers\staging\android\uapi
目录 0 2018-04-14 11:41 bionic\libc\kernel\common\linux
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 fr
目录 0 2018-04-14 11:41 fr
目录 0 2018-04-14 11:41 kernel\drivers\staging\android
目录 0 2017-07-12 09:37 bionic\libc\kernel\common
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 kernel\drivers\staging
目录 0 2017-07-12 09:37 bionic\libc\kernel
目录 0 2017-07-12 09:37 fr
目录 0 2017-07-12 09:37 kernel\drivers
目录 0 2017-07-12 09:37 bionic\libc
............此处省略6个文件信息
相关资源
- Android手机工具ADB.exe
- adb 1.0.31版本--解决4.3android系统adb of
- AndroidStudio版直连sqlserver
- android带百分比进度条的文件上传,使
- 美食天下项目Android版源码和Web版源码
- Android之自定义ToggleButton使用
- Android非常漂亮的登录界面
- pc与android通过usb socket实现手机通信
- android毕业设计
- 百度地图自定义Markerandroid
- Android分区工具包
- android-support-v4.jar已打包进去源代码
- u-blox_Android_GNSS_Driver_v3.10驱动源码+中
- 个人根据Android移动开发案例详解手写
- android 视频播放器 项目和原码
- Android【动画】【特效】 17种动画特效
- 基于Android智能家居详细设计(经典)
- android通过JDBC连接Mysql数据库
- Android通讯录的源代码
- android 瀑布流Demo
- 指纹传感器FPC1080在android下的驱动
- delphi xe5 android 调用照相机摄像头拍照
- Android手机连连看游戏源码
- android-sdk-windows v2.3离线完整版
- android 底部弹出菜单(带透明背景)
- Android工程模式简介.rar
- Android蓝牙和Cors网络开发源码
- Android powermanger wakelock
- Android v7的一些jar包
- 最新android supportV7包
评论
共有 条评论