最近研究android notepad源码遇到如下配置,百思不得其解。忘得到各位大牛的指点。
哪位有研究android notepad源码的朋友,能提供文档最好了。谢谢。
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/vnd.xmobileapp.contact" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.xmobileapp.contact" />
</intent-filter>
哪位有研究android notepad源码的朋友,能提供文档最好了。谢谢。
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/vnd.xmobileapp.contact" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.xmobileapp.contact" />
</intent-filter>
没研究过,不过这不是AndroidManifest.xml里的嘛。
这意思是 notepad被允许的动作有 浏览,编辑,获取,和获取内容?
PICK那项不是太懂,google了一下,建议看下这个不知道对你有没有帮助:
http://crazier9527.iteye.com/blog/729051