Android launch browser without specifying a URL

前端 未结 3 2026
误落风尘
误落风尘 2021-01-18 20:20

How would one go about launching the browser from an activity without specifying a url. I would like to open the browser so the user can continue browsing without changing t

3条回答
  •  庸人自扰
    2021-01-18 20:59

    Use Intent#setComponent() to set the Browser's package and class name. Then start the activity.

提交回复
热议问题