How to get the list of installed Browser Apps in a

2019-09-21 01:15发布

How to get the list of Installed Browser Apps Package Names in an Android Device Programmatically, So that I have to show the list of Browser Apps in my Mobile.

1条回答
Lonely孤独者°
2楼-- · 2019-09-21 01:51

Create an Intent that describes the type of activity that you want to match. Pass that to queryIntentActivities() on a PackageManager. The resulting list of ResolveInfo objects contains details of the activities — and their associated apps — that match the Intent. If the list is empty, there are no matches.

查看更多
登录 后发表回答