syntax:

<action android:name="string" />
contained in:
<intent-filter>

description:
Adds an action to an intent filter.An <intent-filter> element must contain one or more <action> elements. If it doesn't contain any, noIntent objects will get through the filter. See Intents and Intent Filters for details on intent filters and the role of actionspecifications within a filter.
attributes:
android:name
The name of the action. Some standard actions are defined in the Intent class as ACTION_string constants. To assign one of these actions to this attribute, prepend " android.intent.action." to the string that follows ACTION_.For example, for ACTION_MAIN, use " android.intent.action.MAIN"and for ACTION_WEB_SEARCH, use " android.intent.action.WEB_SEARCH".

For actions you define, it's best to use the package name as a prefix toensure uniqueness. For example, a TRANSMOGRIFY action might be specified as follows:

<action android:name="com.example.project.TRANSMOGRIFY" />
introduced in:
API Level 1
see also:
<intent-filter>

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)电子书应用完全开源代码
  2. android的Handler
  3. MTP in Android
  4. Android(安卓)抢购功能(时间戳之间的倒计
  5. Android(安卓)获取网络视频某一帧图片
  6. Unity3D和Android之间的方法交互(jar模式
  7. Android(安卓)渗透测试学习手册(一)Android
  8. Android(安卓)UI开发专题(一) 之界面设计
  9. SVG 矢量图和矢量动画介绍
  10. EditText控件设置只读