无法从包中得到的意图过滤器 [英] Unable to get intent filters from a package

查看:334
本文介绍了无法从包中得到的意图过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要列出所有那些在包present的意图过滤器。

I want to list all the intent filters that are present in an package.

我想使用软件包管理系统类来做到这一点。
我已撷取的PackageInfo对象设置标志PackageManager.GET_INTENT_FILTERS。
但我不知道如何使用它。

I am trying to do it using PackageManager class. I have set the flag PackageManager.GET_INTENT_FILTERS while fetching the PackageInfo object. But I dont know how to use it.

我能得到所有相关使用各自的标志活性及接收机的信息,但不知道如何着手对意图过滤器。

I was able to get all the info related to activites and receivers using the respective flags, but dunno how to proceed for intent-filters.

任何想法如何解决这个问题呢?

Any ideas how to solve this issue?

推荐答案

看起来意图过滤器不会在API中暴露和标志有效地不执行任何操作:的 HTTP:?//$c$c.google.com/p/android/issues/detail ID = 3217

Looks like intent filters are not exposed in the API and the flag effectively does nothing: http://code.google.com/p/android/issues/detail?id=3217

这篇关于无法从包中得到的意图过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆