openUrl

fun openUrl(url: String?, context: Context)

Opens a url in the browser

Parameters

url

the url to open

context

the context of the activity

Throws

if no activity found to handle the intent