val url = "https://www.luasoftware.com/luapass/privacy/"val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))if (intent.resolveActivity(activity?.packageManager) != null) { startActivity(intent)}
NOTE: If your app open URL frequently (e.g. News or RSS Reader), you might want to try Chrome Custom Tabs for faster performance, better navigation and theming.