27.02.2014 Views

Android 开发教程

Android 开发教程

Android 开发教程

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-----------------------------------<strong>Android</strong> 编 程 基 础<br />

<strong>Android</strong> Permission 大 全<br />

<strong>Android</strong> SDK 1.0 访 问 权 限 许 可<br />

程 序 执 行 需 要 读 取 到 安 全 敏 感 项 必 需 在 androidmanifest.xml 中 声 明 相 关 权 限 请 求 , 完 整 列 表 如 下 :<br />

android.permission.ACCESS_CHECKIN_PROPERTIES<br />

允 许 读 写 访 问 "properties" 表 在 checkin 数 据 库 中 , 改 值 可 以 修 改 上 传 ( Allows read/write access to the "properties"<br />

table in the checkin database, to change values that get uploaded)<br />

android.permission.ACCESS_COARSE_LOCATION<br />

允 许 一 个 程 序 访 问 CellID 或 WiFi 热 点 来 获 取 粗 略 的 位 置 (Allows an application to access coarse (e.g., Cell-ID,<br />

WiFi) location)<br />

android.permission.ACCESS_FINE_LOCATION<br />

允 许 一 个 程 序 访 问 精 良 位 置 ( 如 GPS) (Allows an application to access fine (e.g., GPS) location)<br />

android.permission.ACCESS_LOCATION_EXTRA_COMMANDS<br />

允 许 应 用 程 序 访 问 额 外 的 位 置 提 供 命 令 (Allows an application to access extra location provider commands)<br />

android.permission.ACCESS_MOCK_LOCATION<br />

允 许 程 序 创 建 模 拟 位 置 提 供 用 于 测 试 (Allows an application to create mock location providers for testing)<br />

android.permission.ACCESS_NETWORK_STATE<br />

允 许 程 序 访 问 有 关 GSM 网 络 信 息 (Allows applications to access information about networks)<br />

android.permission.ACCESS_SURFACE_FLINGER<br />

允 许 程 序 使 用 SurfaceFlinger 底 层 特 性 (Allows an application to use SurfaceFlinger's low level features)<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!