摘要: Android应用程序在使用很多功能的时候必须在Mainifest.xml中声明所需的权限,否则无法运行。Android中为应用程序准备了很多可选权限,下面是Android应用程序权限清单:android.permission.ACCESS_CHECKIN_PROPERTIES :Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded.允许以read/write访问检入数据库(checkin database?)的”propert 阅读全文
posted @ 2011-10-18 21:51 纯洁的坏蛋 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 1.从google搜索内容Intent intent = new Intent();intent.setAction(Intent.ACTION_WEB_SEARCH);intent.putExtra(SearchManager.QUERY,"searchString")startActivity(intent);2.浏览网页Uri uri = Uri.parse("http://www.google.com");Intent it = new Intent(Intent.ACTION_VIEW,uri);startActivity(it);3.显示地图 阅读全文
posted @ 2011-10-18 21:50 纯洁的坏蛋 阅读(227) 评论(0) 推荐(0) 编辑